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: 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