Re: Precomp twice, fail once?
Re: Precomp twice, fail once?
- Subject: Re: Precomp twice, fail once?
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 30 Nov 2004 21:11:29 -0700
On Nov 30, 2004, at 5:07 PM, Tom Harrington wrote:
So for some reason XCode is determined to get AppKit.h included in
this file, even though the file has no dependencies on AppKit. Why
does it want to do this, and how can I convince it to act otherwise?
The target templates are set up in a way so that they make no
assumptions about what's inside the project. That's why some of the
Cocoa targets include flags like "-framework Foundation -framework
AppKit" in them. Of course, if you end up double-linking the target to
a library, then the build will fail spectacularly in a manner you
previously described.
But why that's occurring in a shell tool target is beyond me, unless
the line appears somewhere in the target's settings or build style
settings. When I create a shell tool target in a project, that tool
doesn't include the AppKit header in it. The only thing I can suggest
is to try opening the project.pbxproj file in a text editor, look
around for the substring "AppKit", and see what you find... Maybe
something got misplaced somewhere.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
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