Hi Joar,

Thanks for the reply.

What I did to add the frameworks was add the frameworks to my Linked Frameworks 
and created a new Copy Build phase (target was the Frameworks folder) and then 
added the frameworks to that phase.

I checked out the link and it tells me to set the Installation Build setting of 
the framework build Target. However, I am using precompiled frameworks. Would 
recompiling the frameworks with that setting changed work?

I checked that setting on both of the frameworks I'm using. One has it set to 
@loader_path/../Frameworks and the other one has it set to 
@executable_path/../Frameworks (as it should). Would changing @loader_path to 
@executable_path in the other framework make a difference?

On 2009-12-15, at 11:11 PM, Joar Wingfors wrote:

> 
> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to