Mohammed Ml
Mohammed Ml

Reputation: 31

"cordova run ios " in Windows not works

I install "ionic cordova run ios" on my PC (Windows 10) but I got an error message "[ERROR] An error occurred while running subprocess cordova." Does anyone know how to fix this?

Upvotes: 0

Views: 975

Answers (1)

mika
mika

Reputation: 343

To build an app for iOS you need to have the xcode command line tools installed. Cordova looks for these tools before building. If you don't have that, you can't build your app for iOS.

If you want to build your app for iOS you'll need a Mac with xcode and Cordova installed. Or you could use a virtual machine to do it. For more information on the virtual machine option have look here

Upvotes: 1

Related Questions