Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4980] Problem with Lion and xcodebuild

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-04T06:24:24.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterJeff Haynie
AssigneeChris Barber
Created2011-08-10T14:53:31.000+0000
Updated2017-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

Comments

  1. Jeff Haynie 2011-08-10

    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
  2. Jeff Haynie 2011-08-10

    I can't seem to move this into SDK project.
  3. Ingo Muschenetz 2011-08-10

    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.
  4. Max Stepanov 2011-08-10

    Jeff, if you open Terminal and type "xcode-select -print-path", does it fail ? Same for "xcodebuild -showsdks" ?
  5. Ingo Muschenetz 2011-08-12

    Hi Reggie--assigning this over, but let me know if this is something we need to be taking care of.
  6. Chris Barber 2013-11-04

    I'm gonna guess this has been fixed. Resolving!
  7. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source