Re: XCode 2.2 can't find framework
Re: XCode 2.2 can't find framework
- Subject: Re: XCode 2.2 can't find framework
- From: "E. Wing" <email@hidden>
- Date: Wed, 16 Nov 2005 16:30:06 -0800
I'll take a quick guess at the problem. I bet your project is set to
use the 10.4 Universal SDK. Use the Info Inspector on your project and
under the General tab, look at "Cross Develop Using Target SDK". If
it's set to anything other than "Current Mac OS", then all the
standard search paths are remapped to look in the SDK locations
instead of the normal/everyday locations.
To work around, you can either use "Current Mac OS" or you can try
setting the Framework Search Paths field in the build settings (though
I've had mixed results with this one).
One more thing, you probably want to stay out of
/System/Library/Frameworks unless you have very good reason to be
there. This is mainly for Apple-controlled system stuff and is treated
in special ways during system upgrades. You should probably look at
using either /Library/Framworks or $(HOME)/Library/Frameworks.
-Eric
> From: Joshua Senecal
>
>I'm doing some development that requires linking to a
>custom framework. This framework, after being built,
>is moved into /System/Library/Frameworks where other
>projects link to it. I have been able to link to and
>use this framework with no difficulties.
>
>...until upgrading to XCode 2.2. Now, when I attempt
>to compile a project that requires this framework, I
>get the error message "error:
>myframework/myframework.h: No such file or directory".
_______________________________________________
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