1

I am trying to add an iOS platform to a new Cordova 7.0.1 project but keep getting the error listed in the title of this post. I have tried removing the platform and adding it as suggested in this thread here, but I still get the error. I recently upgraded Cordova from 6.5.0 to 7.0.1 and since then this error has come up. Does anyone have any suggestions for fixing this?

Kal
  • 211
  • 4
  • 15

3 Answers3

3

Update your Node.js to the latest version.

J R
  • 50
  • 4
1

Please remove and then add the iOS platform within project:

cordova platform rm ios
cordova platform add ios

Hope this might be help you. It worked for me.

Ved Rauniyar
  • 1,539
  • 14
  • 21
0

Just do

cordova platform update ios

This worked for me fine

Albi
  • 1,705
  • 1
  • 17
  • 28