I'm new to Titanium and I'm having problems getting apps to load in the iPhone simulator. No matter what I do, the app will compile, I get a BUILD SUCCEEDED message, the simulator launches, then I get "Application has exited from Simulator"
It looks like this:
** BUILD SUCCEEDED ** [INFO] Compile completed in 6.577 seconds [INFO] Launching application in Simulator [INFO] Launched application in Simulator (11.43 seconds) [INFO] Application has exited from Simulator
That's it. No other messages as to why it exited. The simulator never shows the app. I just get a blank simulator window. I get the same result with a completely new app or when importing the kitchen sink app.
Does anyone know why this might be happening?
Thanks in advance.
have you tried running the app from xcode? might give you more info
it should be in your build folder
double click yourapp.xcodeproj
then build it in xcode
Had a similar issue. I found that the simulator was crashing permanently with one particular app build.
This fix might work for someone:
1) Open the iOS simulator application (not from within Titanium - as a separate app).
2) Select the "iOS Simulator" Menu
3) Choose "Reset Contents and Settings…"
4) Select the "Reset" option in the dialogue box.
Run your App build again from within Titanium.
Fixed it for me!
You may also want to change the pull-down from "Info" to "Debug" to see if there is any debugging info that is printed that could help you figure out what is going on.
Go to ~/Library/Application Support/iPhone Simulator, and then delete the platform folder eg "6.0". And run in Titanium again.