Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4731] Lion: Build fails when trying to run on device or distribute via studio with Xcode 4.2

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2011-07-20T15:49:26.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterEric Merriman
AssigneeStephen Tramer
Created2011-07-20T12:26:15.000+0000
Updated2017-03-09T22:59:59.000+0000

Description

Description: After acquiring and installing Lion, I was attempting to perform studio packaging tests. While I could run and distribute for Android, all builds I attempted with iOS failed with something like this: [INFO] One moment, building ... Traceback (most recent call last): File "/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/1.7.2.v20110715075838/iphone/builder.py", line 1406, in main(sys.argv) File "/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/1.7.2.v20110715075838/iphone/builder.py", line 517, in main link_version = check_iphone_sdk(iphone_version) File "/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/1.7.2.v20110715075838/iphone/builder.py", line 48, in check_iphone_sdk output = run.run(["xcodebuild","-showsdks"],True,False) File "/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/1.7.2.v20110715075838/iphone/run.py", line 7, in run proc = subprocess.Popen(args, stderr=subprocess.STDOUT, stdout=subprocess.PIPE) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__ File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child OSError: [Errno 2] No such file or directory Steps to reproduce: 1) Install release version of Lion 2) Launch Studio and create a new mobile project with iOS targets 3) Choose either "Distribute" or attempt to run on device or in simulator Result: Error as listed above Expected: Build completes and is packaged or run with success

Comments

  1. Thomas Huelbert 2011-07-20

    Turns out QE had an out of date beta, the most recent beta (b3) is behaving as expected. Closing.
  2. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source