Problem Description
we used xCode 3.X for some time with Ti Studio (latest), today we upgraded to xCode 4.2 on top of OSX snow leopard.
Now, we can't build anyome, any project, new or old, including Kitchen Sink results in.
Actual Results
[INFO] Detected third-party module: ti.barcode/1.7
[INFO] Detected third-party module: ti.barcode/1.7
[INFO] Titanium SDK version: 1.8.1 (01/27/12 17:31 a24502a)
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 5.0
[INFO] iPhone simulated device: iphone
[ERROR]
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.1/iphone/builder.py", line 1286, 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.1/iphone/builder.py", line 1192, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.1/iphone/run.py", line 39, in run
sys.exit(rc)
SystemExit: 65
when trying to run directly from xCode we get this error:
env: python: No such file or directory
Expected Results
The machine working fine after upgrading Xcode.
Extra info
Host OS: Mac OS X
OS Arch: x86
JRE Version: 1.6.0_29
JRE Vendor: Apple Inc.
JRE Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Install Directory: file:/Applications/Titanium Studio/
Version: 1.0.9.201202141208
VM Arguments: -Xms40m
-Xmx1024m
-Declipse.p2.unsignedPolicy=allow
-Declipse.log.size.max=10000
-Declipse.log.backup.max=5
-Xdock:icon=../Resources/titanium.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=256m
-Djava.class.path=/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
Workspace Directory: file:/Users/admin/Documents/Titanium Studio Workspace/
Language: iw_IL
Titanium Desktop SDK Version: 1.0.0
Titanium Desktop SDK Location: /Library/Application Support/Titanium/sdk/osx/1.0.0
Titanium Desktop SDK Version: 1.1.0
Titanium Desktop SDK Location: /Library/Application Support/Titanium/sdk/osx/1.1.0
Titanium Mobile SDK Version: 1.5.1
Mobile SDK Timestamp: 12/16/10 16:25
Mobile SDK Build Number: 16bbb92
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.5.1
Titanium Mobile SDK Version: 1.6.0
Mobile SDK Timestamp: 02/23/11 12:34
Mobile SDK Build Number: 9882e81
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.6.0
Titanium Mobile SDK Version: 1.6.1
Mobile SDK Timestamp: 03/15/11 11:45
Mobile SDK Build Number: 2fdc0c5
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.6.1
Titanium Mobile SDK Version: 1.6.2
Mobile SDK Timestamp: 04/18/11 17:16
Mobile SDK Build Number: 878906d
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.6.2
Titanium Mobile SDK Version: 1.6.3
Mobile SDK Timestamp: 05/06/11 13:57
Mobile SDK Build Number: 87b34a7...
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.6.3
Titanium Mobile SDK Version: 1.7.0
Mobile SDK Timestamp: 06/06/11 18:05
Mobile SDK Build Number: 64155ee
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.7.0
Titanium Mobile SDK Version: 1.7.2
Mobile SDK Timestamp: 07/21/11 09:36
Mobile SDK Build Number: 97c3689
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.7.2
Titanium Mobile SDK Version: 1.7.3
Mobile SDK Timestamp: 10/17/11 13:44
Mobile SDK Build Number: dcf4257
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.7.3
Titanium Mobile SDK Version: 1.8.1
module_apiversion=2
Mobile SDK Timestamp: 01/27/12 17:31
Mobile SDK Build Number: a24502a
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.8.1
Titanium Mobile SDK Version: 1.8.2
module_apiversion=2
Mobile SDK Timestamp: 02/23/12 17:46
Mobile SDK Build Number: 59b3a90
Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.8.2
If it doesn't work directly from Xcode, then I think this is a SDK bug. Otherwise, based on the error you saw with "python not found", I saw something similar before. Restarting the machine fixed it.
Running this with the Mobile Team.
Hello, Asked the customer to reinstall everything, and he still gets the issue: completly uninstalled xCode, using special command line tool completly uninstalled Ti Studio, by dragging it to Trash deleted the .titanium folder deleted the Titanium Studio Workspace folder in my home folder cleared the trahcan updated the system to the latest Apple updates redownloaded copies of studio and xCode (dmg) restarted install xCode 4.2.1 for snow leopard install Ti studio updated Ti studio updated Ti studio SDK (Downloads SDK 1.8.2) check the Help menu and STILL see Aptana instead of studio sub menu created a new project using the master detail template build for the iPhone simulator result : [INFO] One moment, building ... [INFO] Titanium SDK version: 1.8.2 (02/23/12 17:46 59b3a90) [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 5.0 [INFO] iPhone simulated device: iphone [INFO] Performing full rebuild. This will take a little bit. Hold tight... [INFO] Skipping JS compile, running from simulator [INFO] Compiling localization files [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py", line 1294, 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.2/iphone/builder.py", line 1200, in execute_xcode output = run.run(args,False,False,o) File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/run.py", line 39, in run sys.exit(rc) SystemExit: 65 Log file !SESSION 2012-04-04 19:07:28.955 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_31 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=iw_IL Framework arguments: -keyring /Users/admin/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/admin/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui 4 4 2012-04-04 19:10:49.827 !MESSAGE Unable to find Action Set: com.aptana.editor.php.presentation !ENTRY org.eclipse.core.net 1 0 2012-04-04 19:10:59.742 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences Diagnostics: Host OS: Mac OS X OS Arch: x86 JRE Version: 1.6.0_31 JRE Vendor: Apple Inc. JRE Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Install Directory: file:/Applications/Titanium Studio/ Version: 1.0.9.201202141208 VM Arguments: -Xms40m -Xmx1024m -Declipse.p2.unsignedPolicy=allow -Declipse.log.size.max=10000 -Declipse.log.backup.max=5 -Xdock:icon=../Resources/titanium.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=256m -Djava.class.path=/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar Workspace Directory: file:/Users/admin/Documents/Titanium Studio Workspace/ Language: iw_IL Titanium Desktop SDK Version: 1.1.0 Titanium Desktop SDK Location: /Library/Application Support/Titanium/sdk/osx/1.1.0 Titanium Mobile SDK Version: 1.7.5 Mobile SDK Timestamp: 11/02/11 17:00 Mobile SDK Build Number: ab20af7 Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.7.5 Titanium Mobile SDK Version: 1.8.2 module_apiversion=2 Mobile SDK Timestamp: 02/23/12 17:46 Mobile SDK Build Number: 59b3a90 Titanium Mobile SDK Location: /Library/Application Support/Titanium/mobilesdk/osx/1.8.2 build.log ================================================================================ Appcelerator Titanium Diagnostics Build Log The contents of this file are useful to send to Appcelerator Support if reporting an issue to help us understand your environment, build settings and aid in debugging. Please attach this log to any issue that you report. ================================================================================ Starting build at 04/04/12 19:17 Build details: timestamp=02/23/12 17:46 module_apiversion=2 version=1.8.2 githash=59b3a90 Script arguments: /Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py simulator 5.0 /Users/admin/Documents/Titanium Studio Workspace/test il.co.jwtdigital.test test iphone iphone Building from: /Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone Platform: Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 Xcode path is: /Developer githash=59b3a90, existing_git_hash=None forcing rebuild since libhash (None) not matching (086dba02ebf4956989e6555c3d754630) Performing full rebuild Generated the following stylecode code: http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Cliente nuked the offending machine, and installed Lion. It's working like a charm now.