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)
You can build app from the apple devices but not from windows machine as per my understanding.
Note
You need a Mac (Apple device) to build iOS
Check Ionic Doc building iOS
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With