Re: App works when launched from Xcode, not from Finder
Re: App works when launched from Xcode, not from Finder
- Subject: Re: App works when launched from Xcode, not from Finder
- From: Joar Wingfors <email@hidden>
- Date: Tue, 15 Dec 2009 22:11:51 -0800
On 15 dec 2009, at 16.48, PCWiz wrote:
> I have 2 frameworks set in a Copy Files build phase and both are being copied as they should.
So you intend for your frameworks to be copied into and used from the bundle of your app? If so, have you set their Installation Directory build setting to "@executable_path/../Frameworks"? If not, that would probably explain why it works from Xcode, but not from Finder. See:
<http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/CreatingFrameworks.html#//apple_ref/doc/uid/20002258-106880>
Xcode sets DYLD_FRAMEWORK_PATH to your build folder, so your app will pick up any copies of your frameworks found there when launched from Xcode.
j o a r
_______________________________________________
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