Re: Subdirectories in Framework Public Header
Re: Subdirectories in Framework Public Header
- Subject: Re: Subdirectories in Framework Public Header
- From: "Sherm Pendley" <email@hidden>
- Date: Sun, 4 May 2008 13:24:27 -0400
On Sun, May 4, 2008 at 10:46 AM, Steve Sisak <
email@hidden> wrote:
Sorry if this is a duplicate -- I posted it a couple days ago and never saw it come back from the list.
----------
I know a recipe for this has been posted in the past year, but my google-foo is failing me in finding it.
I'm in the attempting to package an open source library which has subdirectories in its public headers as a framework and trying to figure out how to set up the Copy Headers phase to reflect this.
In other words, I've got:
./headers/foo.h
./headers/macosx/foo.h
and want to end up with
MyFramework.framework/Headers/foo.h
MyFramework.framework/Headers/macosx/foo.h
At the moment Xcode is trying to copy both headers into MyFramework.framework/Headers/ and complaining that there are 2 rules to copy the same file.
You might try using a shell script build phase instead of a copy files - something like this:
cp -R $SOURCE_ROOT/macosx $BUILD_DIR/$BUILD_STYLE/MyFramework.framework/Headers
sherm--
--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________
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