Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[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?




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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.