首页 > 解决方案 > CordovaError: Promise denied with non-error: 'xcodebuild was not found. 请从 App Store 安装 9.0.0 或更高版本'

问题描述

我在 ionic 中创建了一个应用程序,我想在 iOS 中对其进行测试。所以我运行命令ionic cordova build ios但是,它给了我以下错误

我运行这个命令来进行 iOS 构建:

ionic cordova build ios
CordovaError: Promise rejected with non-error: 'xcodebuild was not
found. Please install version 9.0.0 or greater from App Store'
at cli.catch.err
    (C:\Users\RISINGBEE\AppData\Roaming\npm\node_modules\cordova\bin\cordova:29:15)
        at process._tickCallback (internal/process/next_tick.js:68:7)

标签: iosxcodeionic-frameworkionic4xcodebuild

解决方案


根据我的理解,您可以从苹果设备构建应用程序,但不能从 Windows 机器构建应用程序。


推荐阅读