Re: adding frameworks
Re: adding frameworks
- Subject: Re: adding frameworks
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 17 Jan 2005 22:10:10 -0700
On Jan 17, 2005, at 9:04 PM, Pierre Chatel wrote:
when i add a framework to my project (by drag-and-dropping it to the
"Groups & File panel) it is automatically added to the "Frameworks and
Libraries" group in the Target. But when i try to run the application
it exits with a dyld error :(...)/build/xxx.app/Contents/MacOS/xxx
can't open library:
@executable_path/../Frameworks/yyy.framework/Versions/2.0/yyy (No
such file or directory, errno = 2)
So how to tell xcode to copy the framework to the build product ?
Add a "copy files" build phase to the target, and drag the framework
from the list of files in the project into the build phase. Don't
forget to set the phase's destination in its info panel.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
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