[TIMOB-4980] Problem with Lion and xcodebuild
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-04T06:24:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Jeff Haynie |
Assignee | Chris Barber |
Created | 2011-08-10T14:53:31.000+0000 |
Updated | 2017-03-14T20:20:54.000+0000 |
Description
I just upgraded my machine to lion and now I can't run an iOS project
looks like xcodebuild is no longer default in the PATH
we might need to work around this somehow in either Studio (or ideally in the actually python scripts, feel free to re-assign if so)
located here:
/Developer/usr/bin/xcodebuild
When I manually symlinked - i now get the following error for xcode-select [INFO] One moment, building ... [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/iphone/builder.py", line 605, in main xcode_path=run.run(["/usr/bin/xcode-select","-print-path"],True,False) File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.2/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 Looks like this file no longer exists. Geez
I can't seem to move this into SDK project.
Hi Jeff--I moved that over. Not that we did make an update in TiStudio 1.0.4 for the path to developer tools, but I'm not positive that's the same thing here.
Jeff, if you open Terminal and type "xcode-select -print-path", does it fail ? Same for "xcodebuild -showsdks" ?
Hi Reggie--assigning this over, but let me know if this is something we need to be taking care of.
I'm gonna guess this has been fixed. Resolving!
Closing ticket as fixed.