2016-12-13 33 views
0

我正在使用Ionic 2。该应用在Windows上成功安装了Android apk错误:xcode选择:错误:工具'xcodebuild'需要Xcode

我现在试图在OSX上为iOS构建它。当我运行:

ionic build ios 

我得到如下:

enter image description here

任何建议表示赞赏。

+0

您的xcode-select是否指向正确的目录? –

+0

您是否尝试过(重新)安装Xcode? –

+0

对不起,我是OSX的新手。我如何检查它指向的位置?我该如何重新安装? – Richard

回答

0

您需要在安装后配置xcode

开放的Xcode,转到>首选项>位置(标签)>的命令行工具(下拉菜单)>设置最新版本。

enter image description here