Changes between Initial Version and Version 1 of Ticket #48926, comment 2
- Timestamp:
- Oct 1, 2015, 7:32:17 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #48926, comment 2
initial v1 1 1 Here's how I fixed this, as someone else might hit the same problem. 2 2 3 1) Run xcodebuild -showsdks + if there's no "-sdk macosx10.10" then continue 4 5 2) Download Xcode-6.4.dmg (command line tools appear to be packaged in the Xcode dmg) 6 7 3) mv /Applications/Xcode /Applications/Xcode-7.0 8 9 4) Install Xcode-6.4.dmg 10 11 5) If everything worked, you should see... 12 3 1. Run xcodebuild -showsdks + if there's no "-sdk macosx10.10" then continue 4 2. Download Xcode-6.4.dmg (command line tools appear to be packaged in the Xcode dmg) 5 3. mv /Applications/Xcode /Applications/Xcode-7.0 6 4. Install Xcode-6.4.dmg 7 5. If everything worked, you should see... 8 {{{ 13 9 imac# xcodebuild -showsdks 14 10 OS X SDKs: 15 11 OS X 10.9 -sdk macosx10.9 16 12 OS X 10.10 -sdk macosx10.10 17 13 }}} 14 {{{ 18 15 /usr/bin/gcc --version 19 16 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 … … 21 18 Target: x86_64-apple-darwin14.5.0 22 19 Thread model: posix 20 }}} 23 21 24 22 If not, navigate to /Applications/Xcode -> Preferences -> Locations -> Change "Command Line Tools" to 6.4