[Resolved] App crashing when building in XCode Simulator
Sorry if this is another repost, I think it got swept away with the forum issues yesterday as I cannot find the original post.
I am having an issue when I go to build my app using the XCode simulator. It runs fine in Coronas Simulator but it crashes immediately after opening in the XCode simulator. When the build is done, it turns the simulator to landscape (which is what I have my app setting on) then the screen goes black for a second, and then it flips back to portrait and closes my app returning to the iOS home screen. When I check in the console this is all I get:
4/19/12 2:44:37 PM com.apple.launchd.peruser.501 (UIKitApplication:com.yourcompany.Smashing Cans[0x3501]) Exited with exit code: 1 4/19/12 2:44:37 PM SpringBoard Application 'Smashing Cans' exited abnormally with exit status 1
I have went back into my code and changed everything to make sure none of my requires are missing parenthesis and all my .lua files are in the main directory, I am not using any subdirectories except for images.
I should also note that this error happens whenever I build any app from the corona simulator into XCode simulator. I tried building the Fishies app that comes with Corona as well as other Sample code apps and I always get the same issue (adjusts orientation, black screen, readjusts orientation if it changed, then back to iPhone home screen.) If anyone could help it would be greatly appreciated.