Re: Linking to Embedded Carbon Framework
Re: Linking to Embedded Carbon Framework
- Subject: Re: Linking to Embedded Carbon Framework
- From: Jens Miltner <email@hidden>
- Date: Tue, 12 Feb 2008 08:54:42 +0100
Am 12.02.2008 um 02:08 schrieb Rick Langschultz:
Hello Everyone,
My application embeds a framework into the @executable_path/../
Frameworks folder in my application
This framework is the Xerces framework and has the xercesc folder in
the Headers folder of the framework. How can I provide this header
folder in the Header search paths definition of my application?
I tried @executable_path/../Frameworks/Xerces.framework/Versions/A/
Headers but that didn't work, and get about 360 errors.
Any suggestions?
You'll need to include "$(CONFIGURATION_BUILD_DIR)/$
(FRAMEWORKS_FOLDER_PATH)" in your framework search path (if you use
framework style includes for the xerces headers, otherwise include
that path with Versions/Current/Headers appended in your header search
paths).
However, this assumes that the copy files build phase that copies the
framework into your application is executed before compiling the
files. Also, the dependency check might become confused because it's
run before the framework is copied.
My experience is that it's better to include the framework's original
location in the search paths (i.e. the location where you copy the
framework from). That way, Xcode will get the dependencies right when
the framework changes...
</jum>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden