I need to update my iOS app created with Cordova to last version but something is not clear:
cordova -v
returns: "4.2.0"
cordova platform list
returns: "Installed platforms: ios 3.7.0"
If i try to run:
cordova platform update ios
I get: "iOS project is now at version 3.7.0"
If i try to run:
cordova platform add [email protected]
I get: Error: No compatible version found: cordova-ios@'>=4.0.0-0 <4.1.0-0' Valid install targets: ["3.5.0","3.6.0","3.6.1","3.6.3","3.7.0"]
so, what is the last platform available for iOS? 3.7.0?
Why Cordova gives instructions on how to update to 4.0.0 then? (Upgrading iOS)
Thank you!
The issue is that there is now fragmentation in Cordova versions. 4.2.0
is the Cordova CLI version.
As the Valid Install Targets
suggests, 3.7.0
is the latest iOS version of Cordova.