• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New "Feature"? Was: Since Xcode 3.0, ld insists on linking...Resolved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New "Feature"? Was: Since Xcode 3.0, ld insists on linking...Resolved


  • Subject: Re: New "Feature"? Was: Since Xcode 3.0, ld insists on linking...Resolved
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 21 Dec 2007 18:15:34 -0800

After re-reading the replies from Chris and Jon, I realized that my using the Cocoa "umbrella" framework was the problem. Indeed, if I replace Cocoa.framework with Foundation.framework + AppKit.framework, and re-introduce the statements invoking Core Data classes, the linker failed with errors, as desired.

So, here's the conclusion:

For safety and control over what frameworks are attempted to be loaded at runtime, when building with Xcode 3.0 or later, never include Cocoa.framework in Release targets. Instead, use the Foundation.framework, AppKit.framework and CoreData.framework as needed.

I wonder if any of the other umbrella frameworks implicitly include subframeworks that are not available in all OS versions?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Since Xcode 3.0, ld insists on linking CoreData.framework (From: Jerry Krinock <email@hidden>)
 >Re: Since Xcode 3.0, ld insists on linking CoreData.framework (From: Chris Espinosa <email@hidden>)
 >Re: Since Xcode 3.0, ld insists on linking CoreData.framework (From: Jerry Krinock <email@hidden>)
 >Re: Since Xcode 3.0, ld insists on linking CoreData.framework (From: Jerry Krinock <email@hidden>)
 >Re: Since Xcode 3.0, ld insists on linking CoreData.framework (From: Chris Suter <email@hidden>)
 >Re: Since Xcode 3.0, ld insists on linking CoreData.framework (From: Jerry Krinock <email@hidden>)
 >New "Feature"? Was: Since Xcode 3.0, ld insists on linking...Resolved (From: Jerry Krinock <email@hidden>)
 >Re: New "Feature"? Was: Since Xcode 3.0, ld insists on linking...Resolved (From: Jonathan Hess <email@hidden>)
 >Re: New "Feature"? Was: Since Xcode 3.0, ld insists on linking...Resolved (From: Jerry Krinock <email@hidden>)
 >Re: New "Feature"? Was: Since Xcode 3.0, ld insists on linking...Resolved (From: Chris Hanson <email@hidden>)
 >Re: New "Feature"? Was: Since Xcode 3.0, ld insists on linking...Resolved (From: Jerry Krinock <email@hidden>)

  • Prev by Date: File menu crashes app
  • Next by Date: Re: Doc sets updated
  • Previous by thread: Re: New "Feature"? Was: Since Xcode 3.0, ld insists on linking...Resolved
  • Next by thread: Xcode 3.0 - debugging custom executable
  • Index(es):
    • Date
    • Thread