[solved] Re: Bundled framework not found despite copy build phase and being inside the bundle
[solved] Re: Bundled framework not found despite copy build phase and being inside the bundle
- Subject: [solved] Re: Bundled framework not found despite copy build phase and being inside the bundle
- From: Alexander Reichstadt <email@hidden>
- Date: Fri, 09 Mar 2012 22:07:33 +0100
I found the problem, the bundled framework being in another project did not have the @executable/../Frameworks set as a installation path.
dyld: Library not loaded: /Users/Alexander/Library/Frameworks/PGSQLKit.framework/Versions/A/PGSQLKit
Am 09.03.2012 um 22:00 schrieb Alexander Reichstadt:
> Hi,
>
> having added the PGSQLKit framework when being bundled it is not found. What I did was adding the framework, making sure it is linked against, making sure the copy buildphase with target frameworks is before the link phase. When I check, the built app bundle does contain the Frameworks directory as well as it containing the framework in question. But the app when trying to launch continues to search in ~/Library/Frameworks and works only if the framework is located there, otherwise it stops launching with some dylib error.
>
> Where do I tell it to not search there but inside the bundle?
>
>
> Thanks
> Alex
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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