• 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: Kiel Gillard <email@hidden>
  • Date: Wed, 16 Dec 2009 11:40:05 +1100

In Xcode, are you running the target's executable with any command line arguments?

Kiel

On 16/12/2009, at 11:34 AM, PCWiz wrote:

> I'm having a *really* strange issue here. First of all, my app works fine in Debug mode. I can launch it from Xcode or from Finder and it will work fine.
>
> The problem comes when using "Release". If I pick the Release config and then click the Build button from Xcode, the app still works fine. _However_ when launching the app from Finder (in the build/Release directory) the app just completely throws up all over itself. Authentication errors, request timed out (I'm contacting a web API), just about everything that could go wrong does go wrong.
>
> I don't know why this is happening. I don't think its an issue with my code if it works in Debug (Xcode & Finder) and Release (Xcode only).
>
> My build configurations for both Debug and Release are identical (I haven't checked thoroughly, but I know I didnt change much). Both configs are set to use the LLVM GCC 4.2 compiler, and GC is set to Required. The only other change I've made is adding a few header search paths.
>
> Any help is greatly appreciated. Thanks_______________________________________________
>
> 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

  • Follow-Ups:
    • Re: App works when launched from Xcode, not from Finder
      • From: PCWiz <email@hidden>
References: 
 >App works when launched from Xcode, not from Finder (From: PCWiz <email@hidden>)

  • Prev by Date: Re: App works when launched from Xcode, not from Finder
  • Next by Date: Re: App works when launched from Xcode, not from Finder
  • 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