Re: Problem with prebinding and Frameworks
Re: Problem with prebinding and Frameworks
- Subject: Re: Problem with prebinding and Frameworks
- From: Sherm Pendley <email@hidden>
- Date: Wed, 10 May 2006 02:31:36 -0400
On May 9, 2006, at 11:06 AM, Julio Bianco wrote:
When I run it as debug, everything goes right, but when I try to
build it as release, I've got the same error I've with the previous
configuration (that one that I use calling the framework provided
for somebody else).
Have you tried doing a clean build? Deleting the build folder?
I try to do everything you tell me to do in your previous email,
but it doesn't work neither.
I don't know what else to do. Can you guide me a little more?
It "doesn't work" in what way? I told you what was wrong, and where
you should be copying the "inner" framework to:
If you want to put A.framework in a version-specific subdirectory,
you need to set up a symlink at the expected path in Frameworks/
that points to it. It expects to see it there a compile time, so
that it can read the install_path from it that will be used to
find it at run time.
B.framework\
|->Frameworks\
A.framework -> ../Versions/A/Frameworks/A.framework
The "inner" A.framework can be either the framework itself, or as it
indicates above, a symlink to a specific version of A.framework.
Things to check:
A.framework should have an install path of "@loader_path/../
Frameworks/A.framework/A".
B.framework should have an install path of "@executable_path/../
Frameworks/B.framework/B".
B.framework should include a "copy files" build phase that copies
A.framework into its Frameworks folder.
Foo.app should include a "copy files" build phase that copies
B.framework into its Frameworks folder.
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden