Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1910] Wrong SDK used for iOS Device Build

GitHub Issuen/a
Resolution Date2013-01-22T23:53:57.000+0000
Affected Version/sn/a
Fix Version/sn/a
ReporterJoe Falcone
AssigneeDaniel Sefton


*Problem description* When I build for iOS device using Studio 3 and specify SDK Version 6.0, the build is performed with SDK 5.0 and then the ld fails. When I build using the previous version of Studio on another Mac, the build works fine. Exact same code base. *Log*
[INFO] Titanium SDK version: 2.1.4 (11/09/12 12:46 51f2c64)
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 5.0
[INFO] Performing full rebuild. This will take a little bit. Hold tight...
[INFO] Minimum iOS version: 4.3 Linked iOS Version 5.0
[INFO] Performing clean build
[INFO] Compiling localization files
[ERROR] Error: Traceback (most recent call last):
  File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/builder.py", line 1477, in main
    execute_xcode("iphoneos%s" % iphone_version,args,False)
  File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/builder.py", line 1231, in execute_xcode
    output = run.run(args,False,False,o)
  File "/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/iphone/run.py", line 41, in run
SystemExit: 65


  1. Joe Falcone 2012-12-20

    Just updated to Studio build: - no change to this problem
  2. Joe Falcone 2012-12-28

    Performed an 'uninstall' on Mac - deleted Ti Studio directory and installed latest download from website. Still no change - still builds with 5.0 SDK when 6.0 SDK is specified.
  3. Joe Falcone 2012-12-29

    Turned out to be an install-script hacked path forcing xcodebuild to reference xcode 4.2.1
  4. Daniel Sefton 2013-01-22

    Closing - let us know if you continue to have issues. Cheers.

JSON Source