cordova - 错误: xcode-select: error: tool 'xcodebuild' requires Xcode

标签 cordova ionic2 cordova-plugins

我正在使用Ionic 2。该应用在 Windows 上成功构建了 Android apk

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

ionic build ios

我得到以下信息:

enter image description here

任何建议表示赞赏。

最佳答案

安装后需要配置xcode:

打开 xcode,转到 > 首选项 > 位置(选项卡)> 命令行工具(下拉菜单)> 设置最新版本。

enter image description here

关于cordova - 错误: xcode-select: error: tool 'xcodebuild' requires Xcode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41116584/

相关文章:

css - ion-content 的内容自动填充

javascript - 如何在 angular2 的移动模拟器中显示 console.log

ios - 如何为 Cordova ios 插件添加静态库而不是框架?

cordova - 从图库上传图像或从移动相机 meteor Android 应用程序单击图像

android - phonegap android中按钮上的粗糙像素化边缘

javascript - 手机缝隙的响应式设计支持

javascript - phonegap angularjs 条码扫描器

javascript - Cordova 5白名单、Content-Security-Policy和本地网络ip

tabs - 如何在 Ionic 2 中获取事件标签索引?

javascript - 在 Cordova 中更改 Android 状态栏颜色