Ok, this just got even weirder.

When I launch the app in Release mode from Xcode, something strange happens. 
*2* instances of the app are opened. Both instances work fine however.

Now when I launch the Release app from Finder, 2 instances are opened once 
again. However this time, one instance of the app gives me authentication 
errors, and the other works fine.

This is making absolutely 0 sense to me, and right now it seems like its a 
screwup on Xcode's part. I can privately email the source if necessary (its a 
commercial app, but right now I'm willing to do anything to get this fixed).

Thanks

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