• 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: Chris Suter <email@hidden>
  • Date: Fri, 7 Dec 2007 08:43:09 +1100


On 07/12/2007, at 8:40 AM, Jerry Krinock wrote:

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.

Send us the link command used from the build log.

- Chris

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Jerry Krinock <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>)

  • Prev by Date: Re: Since Xcode 3.0, ld insists on linking CoreData.framework
  • Next by Date: Re: tDirStatus is an undefined type?
  • 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