Ionic not creating cordova directories for iOS on Windows machine

I updated my ionic and cordova CLI yesterday and started a new project. As I was installing some plugins, I kept getting an error saying that the cordavaLib/VERSION folder was missing for iOS. Android was working fine. Has this happened to anyone else and what is the fix?

I am not trying to use ionic build or anything. I have developed my ionic apps in the past on my PC and then used a MAC to create the iOS files.

Any thoughts?


Maybe you have some iOS files from your git repo that you added when working on Mac. Have you tried to cleanup your Windows env with ‘cordova platform rm ios’?

This is a new project and never had files on the MAC. But I will try that! Thanks.


That did it! Removed the platform and added it back!

Thanks a bunch.