Skip navigation.
 
mlRe: How to use a framework? (newbie)
FROM : Jonathon Mah
DATE : Fri Apr 22 04:35:08 2005

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_removed>

Related mailsAuthorDate
mlHow to use a framework? (newbie) Duncan Campbell Apr 22, 03:32
mlRe: How to use a framework? (newbie) Jonathon Mah Apr 22, 04:35