在Cordova 6.4.0中构建ios平台时出错

时间:2016-11-11 07:00:53

标签: ios cordova

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

1 个答案:

答案 0 :(得分:1)

解决了这个问题

$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer