perlguy2

xcode-select and xcodebuild fixes

Aug 21st, 2018
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. This problem happens when xcode-select developer directory was pointing to /Library/Developer/CommandLineTools, when a full regular XCode was required (happens when CLT are installed after XCode)
  2.  
  3. Solution:
  4.  
  5. Install Xcode (get it from https://developer.apple.com/xcode/) if you don't have it yet.
  6. Accept the Terms and Conditions.
  7. Ensure Xcode app is in the /Applications directory (NOT /Users/{user}/Applications).
  8. Point xcode-select to the Xcode app Developer directory using the following command:
  9. sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
  10. Note: Make sure your Xcode app path is correct.
  11.  
  12. Xcode: /Applications/Xcode.app/Contents/Developer
  13. Xcode-beta: /Applications/Xcode-beta.app/Contents/Developer
Advertisement
Add Comment
Please, Sign In to add comment