Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-1196

Add support for new Xcode 4.3 install location

    Details

    • Story Points:
      5

      Description

      It appears Xcode 4.3 has changed the location of developer tools. In particularly, it's packaged as a single application, with the platforms and command-line tools installed underneath. Homebrew has a function that finds the proper path prefix:

      https://github.com/mxcl/homebrew/blob/master/Library/Homebrew/utils.rb

      Note...xcode-select no longer seems to be installed by default, so note that we have to have a fallback here

      • Check /usr/bin/xcode-select -print-path to see if it exists and is an absolute path. if so, use that
      • Else check if /Developer exists. If so, use that.
      • Else check if /Applications/Xcode.app/Contents/Developer exists. If so, use that.
      • Else ask spotlight where Xcode is (mdfind "kMDItemDisplayName==Xcode&&kMDItemKind==Application). if that succeeds, append /Contents/Developer to that location

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                ingo Ingo Muschenetz
              • Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: