Error: Traceback (most recent call last):

You must Login before you can answer or comment on any questions.

I've just created a new project using the latest version of Titanium. Everything went okay the first time I launched the app in the iOS simulator. Now I just keep getting:

[ERROR] Error: Traceback (most recent call last):
  File "/Users/Kyle/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py", line 1274, in main
    execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False)
  File "/Users/Kyle/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py", line 1180, in execute_xcode
    output = run.run(args,False,False,o)
  File "/Users/Kyle/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/run.py", line 39, in run
    sys.exit(rc)
SystemExit: 65
I've tried deleting my build folder and doing a "Project > Clean..." but neither of these seem to help. Any ideas?

4 Answers

To view full error message: Run > Run Configurations > Change log level to Trace or Debug.

If it does not help, you should try to run/debug using XCODE: Your Project > build > iphone > Open .xcodeproj

( Should cleanup iphone folder then rebuild from Studio to avoid caching issue )

I am having same issue

[ERROR] [ERROR] Error: Traceback (most recent call last):same issue.

This code is running fine on android simulator but fails on iPhone

I am developing it on mac.

I tried with trace but not able to understand what should I do.

File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py", line 1274, in main

execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False)

File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py", line 1180, in execute_xcode

output = run.run(args,False,False,o)

File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/run.py", line 39, in run sys.exit(rc)

Having the same issue. In the past few months I've done a few projects in Xcode 4.0 on this machine. Today did an uninstall of Xcode 4.0 (full uninstall of all Developer Tools using the uninstaller), followed by a first time install of Xcode 4.2. Shortly after, I installed Titanium Studio (build: 1.0.7.201112281340) for the first time on this machine, tried to run the basic two tab template in the iOS simulator, Log Level: Trace.

[INFO] One moment, building ...
[DEBUG] Detecting modules in /Users/myUserName/Desktop/Appceltr/homeSetUpTest1/modules
[DEBUG] Detecting modules in /Library/Application Support/Titanium/modules
[INFO] Titanium SDK version: 1.8.0.1 (12/22/11 13:09 fbdc96f)
[INFO] iPhone Device family: ipad
[INFO] iPhone SDK version: 5.0
[INFO] iPhone simulated device: ipad
[ERROR] 
[ERROR] Error: Traceback (most recent call last):
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py", line 1274, in main
    execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py", line 1180, in execute_xcode
    output = run.run(args,False,False,o)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/run.py", line 39, in run
    sys.exit(rc)
SystemExit: 65

— answered 2 years ago by Tim Shayakhmetov
answer permalink
1 Comment
  • Opening the project in Xcode and running works to launch the simulator as a workaround for now. Still no luck launching from from Titanium Studio 1.0.7.

    — commented 2 years ago by Tim Shayakhmetov

Try to check your Resources/iphone directory, Remove needless file.

Your Answer

Think you can help? Login to answer this question!