Re: How to use a framework? (newbie)
Re: How to use a framework? (newbie)
- Subject: Re: How to use a framework? (newbie)
- From: Jonathon Mah <email@hidden>
- Date: Fri, 22 Apr 2005 12:05:08 +0930
Hi Duncan,
On 22 Apr 2005, at 11:02, Duncan Campbell wrote:
I am trying to add an opensource framework.
I have added the framework to my project, but when i try to build I
get the error:
can't open library: @executable_path/<path_to_my_framework> (No such
file or directory, errno = 2).
Does anyone know what's going on? I have confirmed that the path to
the framework is in my "Framework Search Path" section of my build
target...
Are you use the framework in an installed location (e.g.
~/Library/Frameworks/), or embed it into your app? From what I know,
the path of a framework is embedded into it, so if it's not set up how
you want you'll need to rebuild it.
If you're planning to embed it into your app (i.e. have it at
MyApp.app/Frameworks/TheFramework.framework), I found this tutorial
video very helpful: <http://www.rentzsch.com/cocoa/embeddedFrameworks>
You should be able to use that information to change the framework
you're using, if necessary.
Jonathon Mah
email@hidden
_______________________________________________
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