• 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: Tue, 15 Dec 2009 17:48:44 -0700

I have 2 frameworks set in a Copy Files build phase and both are being copied as they should. I haven't explicitly set any command line arguments for the app, but where would I check that? And nothing is being logged into the Console.

I'll make a quick screen capture right now to demonstrate what's happening.

On 2009-12-15, at 5:40 PM, Kiel Gillard wrote:

> 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: Joar Wingfors <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: Kiel Gillard <email@hidden>)

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