Cocos2d apps crash on device but run on simulator just fine.
I get
"error: failed to launch '/Users/user/Library/Developer/Xcode/DerivedData/
appname-erbohpyunldppdeoivvobopinufc/Build/Products/Debug-iphoneos/
appname.app/ appname -- failed to get the task for process 3259"
After reading older posts I tried to:
- change the app name on Xcode
- delete app from iphone's springboard
- change the bundle identifier
- delete DerivedData folder content
- in xcode did product->clean
- restart iphone
- restart xcode
Nothing worked, I'm using xcode 4.3.2 with iphone 4 ios 5.1. I don't have a developer account yet so I had to disabled code singing (hope it's not the cause), when I run Xcode apps they crush with the same error but when I close and reopen them its work just fine. Only with cocos2d apss they keep crashing. One more thing, any cocos2d code is acting the same when I build it, even the build-in cocos2d examples.
Thanks.