• 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: Since Xcode 3.0, ld insists on linking CoreData.framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Since Xcode 3.0, ld insists on linking CoreData.framework


  • Subject: Re: Since Xcode 3.0, ld insists on linking CoreData.framework
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 6 Dec 2007 13:40:56 -0800

If I create a new Xcode Cocoa project and set the same deployment settings, it does not have the pesky Load CoreData.framework command in the executable.

Same result if I un-check the Target checkboxes for all 79 of my source code files, except main.m, and re-Build.

So, apparently something in my source code is causing ld to write the pesky Load CoreData.framework command.

I have searched my source text and cannot find any obvious references to NSManagedObject or other CoreData stuff.

But I thought that, even if I did make such a mistake and compile code with a reference to a non-linked framework, I would get a linking error. Is it possible that the ld in Xcode 3.0 is "smart" enough to add Load commands for Apple frameworks that I "need" but "forgot" to add to my project?

Since inter-file dependencies is going to make this very tedious to find, I'd appreciate any clues. I'm going to try and make some partial builds. Eeek.

Jerry

_______________________________________________
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


  • Follow-Ups:
    • Re: Since Xcode 3.0, ld insists on linking CoreData.framework
      • From: Chris Suter <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>)

  • Prev by Date: Re: Expanding "this" kills my application
  • Next by Date: Re: Since Xcode 3.0, ld insists on linking CoreData.framework
  • Previous by thread: Re: Since Xcode 3.0, ld insists on linking CoreData.framework
  • Next by thread: Re: Since Xcode 3.0, ld insists on linking CoreData.framework
  • Index(es):
    • Date
    • Thread