Search code examples
cordova

Cordova 8.1.1 android build: cannot find module xcode


I have upgraded cordova on my windows machine from 8.0.0 to 8.1.1 and now I get the following error when trying to build the android version:

cordova build android
Cannot find module 'xcode'

After downgrade to 8.0.0, it works again.

What do I have to do to get around the issue?


Solution

  • It's a bug on the release, it's already fixed, but not released yet.

    So for now I think best option is to downgrade to 8.0.0 until the new version is released. I think you can also install xcode package in your project and might work npm i xcode