Cordova创建和添加平台工作正常,但在ios中构建时会收到错误消息。我有Xcode 7.3.1和cordova 6.4.0 mac版本是10.11
Error: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
答案 0 :(得分:1)
解决了这个问题
$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer