Re: Framework project config & accessing resources in the framework bundle.
Re: Framework project config & accessing resources in the framework bundle.
- Subject: Re: Framework project config & accessing resources in the framework bundle.
- From: Sherm Pendley <email@hidden>
- Date: Sun, 11 Mar 2007 18:28:59 -0400
On Mar 11, 2007, at 10:45 AM, Nelson Santos wrote:
Thanks for the response. Am I literally supposed to put
"@executable_path/../frameworks" into the installation path build
setting?
That's the installation path *for the framework*, not for the app,
and Frameworks should be capitalized.
When you link a framework into your app, the framework's installation
path is copied into the app. When the app is loaded, the loader reads
it and expands @executable_path into the path of the app binary:
/Some/Directory/Whatever.app/Contents/MacOS/Whatever.
Since the binary is in MacOS/, the install path above will look for
the framework in Contents/Frameworks/ inside of the .app bundle.
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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