nathankot / company-sourcekit

Completion for Swift projects via SourceKit with the help of SourceKitten
207 stars 16 forks source link

xcodebuild #32

Closed nicolas4d closed 7 years ago

nicolas4d commented 7 years ago

[sourcekit] process message: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance[sourcekit] process message: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

how can i fix this? bros.

nathankot commented 7 years ago

Hey @nicolas4d you'll need to install xcode and (maybe) run xcode-select --install again

nicolas4d commented 7 years ago

@nathankot thanks for your help. I used this command sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/ and it's worked.