• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: App works when launched from Xcode, not from Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App works when launched from Xcode, not from Finder


  • Subject: Re: App works when launched from Xcode, not from Finder
  • From: PCWiz <email@hidden>
  • Date: Fri, 18 Dec 2009 16:15:25 -0700

Thanks, that's helpful to know.

Kai, I am developing on Snow Leopard but I'm using the 10.5 SDK, so is it possible that NSRecursiveLock is being used in NSOperationQueue? Or should I set a breakpoint on [NSRecursiveLock alloc] to see where its being allocated?

Independent Cocoa Developer, Macatomy Software
http://macatomy.com


On 2009-12-18, at 10:14 AM, David Duncan wrote:

> On Dec 17, 2009, at 6:26 PM, PCWiz wrote:
>
>> But I'm happy to say that I eventually found the cause of my problem. One of the frameworks I was using was compiled using "i386 ppc" set as the architecture. Setting this to "Standard (32-bit/64-bit Universal)" and recompiling the framework fixed it. Xcode seems to launch the app in 32 bit mode whether its in Debug or Release (because I have the Active Architecture set to i386). When launched from Finder, the app launches in 64 bit mode, and since that framework was not compiled with the x86_64 architecture it screwed up the app.
>
>
> Xcode lets you set the architecture to execute, and projects brought forth from earlier versions/OSes typically have a 32-bit target set as the architecture to execute. New projects in Xcode 3.2/Snow Leopard should have x86_64 set as their default executable target.
> --
> David Duncan
> Apple DTS Animation and Printing
>

_______________________________________________

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

  • Follow-Ups:
    • Re: App works when launched from Xcode, not from Finder
      • From: Shawn Erickson <email@hidden>
References: 
 >App works when launched from Xcode, not from Finder (From: PCWiz <email@hidden>)
 >Re: App works when launched from Xcode, not from Finder (From: Kyle Sluder <email@hidden>)
 >Re: App works when launched from Xcode, not from Finder (From: PCWiz <email@hidden>)
 >Re: App works when launched from Xcode, not from Finder (From: Jens Alfke <email@hidden>)
 >Re: App works when launched from Xcode, not from Finder (From: PCWiz <email@hidden>)
 >Re: App works when launched from Xcode, not from Finder (From: Jens Alfke <email@hidden>)
 >Re: App works when launched from Xcode, not from Finder (From: PCWiz <email@hidden>)
 >Re: App works when launched from Xcode, not from Finder (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Menu items unexpectedly disabled
  • Next by Date: Re: Menu items unexpectedly disabled
  • Previous by thread: Re: App works when launched from Xcode, not from Finder
  • Next by thread: Re: App works when launched from Xcode, not from Finder
  • Index(es):
    • Date
    • Thread