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)
Solution:
- Install Xcode (get it from http://developer.apple.com) if you don’t have it yet,
- Point
xcode-select
to the Xcode Developer directory using the following command:sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Note: Make sure your Xcode app directory is the same as in the address above; most notably, it’ll be probably /Applications/Xcode-Beta.app/Contents/Developer
if you installed beta XCode release instead.