Re: Locating a Framework in a Non-Standard Directory
Re: Locating a Framework in a Non-Standard Directory
- Subject: Re: Locating a Framework in a Non-Standard Directory
- From: "Gustavo Vera" <email@hidden>
- Date: Tue, 13 Mar 2007 19:49:47 -0300
This is not the case cause I'm not trying to use the framework embedded into
the app bundle. I'm only trying to locate it on a different place (not in
/Library/Frameworks but in /Library/Frameworks/TetraChrome). The Framework
is already there, the project compiles ok, but it doesn't work when I
execute it.
The documentation says this:
"If your project links to frameworks that are not included in any of the
standard locations, you must explicitly specify the location of that
framework before Xcode can locate its header files. To specify the location
of such a framework, add the directory containing the framework to the
"Framework Search Paths" option of your Xcode project. Xcode passes this
list of directories to the compiler and linker, which both use the list to
search for the framework resources."
I did it but it doesn't work anyway.
Any clues?
Thanks in advance!
On 3/13/07, 慧 松本 <email@hidden> wrote:
On 2007/03/14, at 7:18, Gustavo Vera wrote:
> The project compiles just fine, but when I run y get this on the
> run log:
>
> [Session started at 2007-03-13 19:17:25 -0300.]
> dyld: Library not loaded: ./LogoSync.framework/Versions/A/LogoSync
> Referenced from:
> /Users/gvera/BuildProducts/Release/TetraChrome.app/Contents/MacOS/
> TetraChrome
> Reason: image not found
>
> TetraChrome has exited due to signal 5 (SIGTRAP).
>
> Any idea what's wrong?
Maybe you forget to assign a Copy Files phase that copies the
framework to the target application.
Check your target settings of your project. I always do same
mistakes. :-)
Best regards,
Satoshi Matsumoto
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
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