Re: Since Xcode 3.0, ld insists on linking CoreData.framework
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