Search code examples
iosxcodeionic-frameworkionic4xcodebuild

CordovaError: Promise rejected with non-error: 'xcodebuild was not found. Please install version 9.0.0 or greater from App Store'


I created an app in ionic and I wanted to test it in iOS. So I run the command ionic cordova build ios but, it is giving me the following error

I run this command for making a iOS build:

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)

Solution

  • You can build app from the apple devices but not from windows machine as per my understanding.