Game Development Community

Xcode compiling error

by Gagan · in iTorque 2D · 07/18/2009 (1:11 pm) · 5 replies

Hi ,

I am trying to compile my code on xcode_iphone and it always gives me this error.

No launchable executable present at path.
/Users/user/Documents/software/iTGB_1_2(2)/engine/compilers/Xcode_iPhone/build/Debug-iphonesimulator/itgb.app

Please help i am stuck.

Thanks
Gee

#1
07/19/2009 (8:14 pm)
Make sure you are in release mode, and not debug. Compiling in debug mode currently seems to have this problem.
#2
08/30/2009 (5:21 pm)
The executable that is being generated by the Debug configuration is incorrectly labeled. It creates MyGame.app when in fact it should be itgb.app.

Edit Active Target -> Select Debug Config -> In the Packaging section, change PRODUCT_NAME from MyGame to itgb.
#3
08/30/2009 (8:25 pm)
There is a little curiosity in XCode which Dave is hinting toward. Sometimes if you get that error it can simply be XCode being a tad weird and forgetting what mode you're supposed to be in.

Set it to release and then BACK to debug and hit command+enter and it'll work.
#4
09/03/2009 (1:33 pm)
Just found out that the PRODUCT_NAME is incorrect as well in the iTGB_Script_Optimize target. The product name is set by default to MyGame.
#5
10/06/2009 (8:07 pm)
Thanks Craig, just had the same problem and your solution worked perfect.
I was gonna restart, so you saved me a few minutes :)