Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)
like image 518
keshav godani Avatar asked Jul 11 '19 07:07

keshav godani


2 Answers

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

like image 102
Shashank G Avatar answered Nov 14 '22 22:11

Shashank G


Note

You need a Mac (Apple device) to build iOS

Check Ionic Doc building iOS

like image 2
Chanaka Weerasinghe Avatar answered Nov 14 '22 23:11

Chanaka Weerasinghe