I've got Appcelerator 1.2.1, SDK 3.2.4 and running on OS X 10.6.4. The simulator just won't start from within Titanium Developer.
This is the log window and then I've got the option to press "launch" again…
[INFO] One moment, building …
[INFO] Titanium SDK version: 126.96.36.199
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 4.1
… and then it just stops here…
The simulator can be started independently and works with Xcode.
I've tried to empty the build-folders, but with no luck. I've reinstalled all applications several times.
Anyone? I would be most grateful! :)
Check the build.log in build/iphone/build, chances are there is an error in that file. If you still need help post the error and I'll see what I can do.
Open Finder and pick Go/Utilities and run the Activity Monitor. Do you see more than one instance of an app called iphonesim running? I had that happen and it made running the simulator difficult/buggy. I just killed the instances and tried again but you can try a reboot. I do know that even now I have to click the Launch button twice from time to time and it eventually runs.
Once the simulator window opens, just leave it open and relaunch the app by using its icon on the dashboard of the simulator. The simulator uses relative paths that link back to your source for the project so I rebuild/launch isn't necessary unless you change SDK's.
The errors in the Kitchen Sink are…umm… normal and isn't affecting the building and testing of it.
I also am having this problem. Here's what the build error is saying:
** BUILD FAILED ** The following build commands failed: TestGame-iPad: CompileC build/TestGame.build/Debug-iphonesimulator/TestGame-iPad.build/Objects-normal/i386/TiWindowProxy.o /Users/admin/dev/TestGame/build/iphone/Classes/TiWindowProxy.m normal i386 objective-c com.apple.compilers.gcc.4_2 (1 failure) EXIT CODE WAS: 1 Exception detected in script: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.2/iphone/builder.py", line 868, 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.4.2/iphone/builder.py", line 790, in execute_xcode output = run.run(args,False,False,o) File "/Library/Application Support/Titanium/mobilesdk/osx/1.4.2/iphone/run.py", line 31, in run sys.exit(rc) SystemExit: 1