[TIMOB-4731] Lion: Build fails when trying to run on device or distribute via studio with Xcode 4.2
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-07-20T15:49:26.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Eric Merriman |
Assignee | Stephen Tramer |
Created | 2011-07-20T12:26:15.000+0000 |
Updated | 2017-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
Turns out QE had an out of date beta, the most recent beta (b3) is behaving as expected. Closing.
Closing ticket as invalid.