Re: Can't "xcodebuild install" embedded frameworks?
Re: Can't "xcodebuild install" embedded frameworks?
- Subject: Re: Can't "xcodebuild install" embedded frameworks?
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 17 May 2004 09:07:29 -0400
I don't know anything about xcodebuild install, but I am able to embed
frameworks in a script build phase in Xcode. I use the technique championed
by Mike Ferris in his MOKit. Basically, I build the framework as a separate
project and set it up with an install path of /Library/Frameworks -- this is
in case I distribute it and users want to put it in this standard location.
However, to embed it in my own applications, my script build phase changes
the install path to @executable_path..." etc. To do this, the framework has
to be built with the setting that sets aside the maximum possible area for
the path, so that it can be changed reliably by the script.
I don't have my code or a reference to MOKit with me today. MOKit is on
sourceforge, and you should be able to find Mike Ferris's explanatory
document there.
on 2004-05-17 6:06 AM, Calum Robinson at email@hidden wrote:
> I am setting up a deployment build script for an application that
> contains an embedded framework, and all the
> "@executable_path/../Frameworks/" magic has worked so far for debug &
> release builds. However, trying to run "xcodebuild install" doesn't
> work (not just from my script - from the Terminal too).
>
> The problem is that xcodebuild seems to be using the install_name as a
> directory name, which gets screwed up when the install_name contains a
> "/../" - here's the error:
>
> pbxcp: error: open():
> /tmp/MoreFiles.dst@executable_path/../Frameworks/MoreFiles.framework/
> Versions/A/Resources/Info.plist: No such file or directory
>
> Has anyone found a way to get around this?
>
>
> Calum Robinson
> http://www.zonic.co.uk
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
>
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.