Search code examples
iosxcodetitaniumios-simulatortitanium-mobile

Black screen in iOS simulator


I'm trying to launch a titanium app in the iOS simulator, but I get a black screen. Everything worked fine until now. I don't know why it doesn't work anymore.

This is the error I get:

[TRACE] ** BUILD SUCCEEDED **
[INFO]  Finished building the application in 14s 136ms
[INFO]  Running application in iOS Simulator
[DEBUG] Terminating all iOS simulators
[INFO]  Launching application in iOS Simulator    
[DEBUG] Simulator command: "/Users/carl/Library/Application Support/Titanium/mobilesdk/osx/3.3.0/iphone/ios-sim" launch /Users/carl/Dev/test/build/iphone/build/Debug-iphonesimulator/test.app" --xcode-dir "/Applications/Xcode.app/Contents/Developer" --sdk 7.1 --family iphone --retina --tall  
[INFO]  Focusing the iOS Simulator 
[ERROR] Project failed to build after 1m 44s 479ms

I tried to reset content and settings in the simulator, but it doesn't work. Also tried to reboot, and reinstall Xcode, with no luck.

The project launches correctly on a device.
I use Titanium SDK 3.3.0, Xcode 5.1.1, iOS SDK 7.1 on OSX 10.9.4 (Mavericks)


Solution

  • Tmux causes the simulator to timeout. See this discussion.