Titanium won't run iPhone/Android Emulator

Posted by BeOliveira on Stack Overflow See other posts from Stack Overflow or by BeOliveira
Published on 2011-01-03T21:59:30Z Indexed on 2011/01/08 1:53 UTC
Read the original article Hit count: 555

I just installed Titanium SDK (1.5.1) and all the Android SDKs. Also, I already have iPhone SDK 4.2 installed.

I downloaded KitchenSink and imported it into Titanium but whenever I try to run it on iPhone Emulator, I get this error:


[INFO] One moment, building ...
[INFO] Titanium SDK version: 1.5.1
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 4.0
[INFO] Detected compiler plugin: ti.log/0.1
[INFO] Compiler plugin loaded and working for ios
[INFO] Performing clean build
[INFO] Compiling localization files
[INFO] Detected custom font: comic_zine_ot.otf
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1003, in main
execute_xcode("iphonesimulator%s" % iphone_version,["GCC_PREPROCESSOR_DEFINITIONS=LOG__ID=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % (log_id,sdk_version)],False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 925, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/run.py", line 31, in run
sys.exit(rc)
SystemExit: 1

And for Android, it runs the OS but not the KitchenSink app, here's the log:


[INFO] Launching Android emulator...one moment
[INFO] Building KitchenSink for Android ... one moment
[INFO] plugin=/Library/Application Support/Titanium/plugins/ti.log/0.1/plugin.py
[INFO] Detected compiler plugin: ti.log/0.1
[INFO] Compiler plugin loaded and working for android
[INFO] Titanium SDK version: 1.5.1 (12/16/10 16:25 16bbb92)
[INFO] Waiting for the Android Emulator to become available
[ERROR] Timed out waiting for android.process.acore
[INFO] Copying project resources..
[INFO] Detected tiapp.xml change, forcing full re-build...
[INFO] Compiling Javascript Resources ...
[INFO] Copying platform-specific files ...
[INFO] Compiling localization files
[INFO] Compiling Android Resources... This could take some time

Any ideas on how to get Titanium to work?

© Stack Overflow or respective owner

Related posts about android-emulator

Related posts about iphone-simulator