• 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 runs in Debug or Run in XCode... but not as stand-alone?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App runs in Debug or Run in XCode... but not as stand-alone?


  • Subject: Re: App runs in Debug or Run in XCode... but not as stand-alone?
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 30 May 2005 20:36:21 -0700


On May 30, 2005, at 8:14 PM, Mark Grob wrote:

My current game project runs in Xcode but it does not run when I click on the .app?


What would be causing this? I am compiling on Xcode 1.5, I only warnings that I usually get when compiling... but it builds and runs in xCode.


Please advise on what might be the issue with Xcode... the same code runs fine on the PC.



The most likely cause for this is that you're building using the Development build style, which uses the Zero Link feature by default.  This feature builds a "shell" executable that dynamically loads the object files from the intermediates directory at runtime.  Of course, if you move the shell app to another machine, it can't find your intermediates directory.

The solution is to choose Deployment as your active build style, rebuild, and copy that version to the other machine.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >adding script phase (From: "James E. Hopper" <email@hidden>)
 >App runs in Debug or Run in XCode... but not as stand-alone? (From: Mark Grob <email@hidden>)

  • Prev by Date: App runs in Debug or Run in XCode... but not as stand-alone?
  • Next by Date: Re. File Saving Problem (Permissions issues).
  • Previous by thread: App runs in Debug or Run in XCode... but not as stand-alone?
  • Next by thread: Shark isn't showing my function names or source code
  • Index(es):
    • Date
    • Thread