Deleting the ~/.cordova folder fixes the issue for me.
On 3/3/16, 4:56 AM, "Alexis Kofman" <alexis.kof...@gmail.com> wrote: >Hello guys ! > >Same here with the last Android version : > >$ cordova platform add ios@5.1.1 >Error: Failed to fetch platform ios@5.1.1 >Probably this is either a connection problem, or platform spec is incorrect. >Check your connection and platform name/version/URL. >Error: version not found: cordova-ios@5.1.1 > > > >On Thu, Mar 3, 2016 at 10:45 AM, Zarko Hristovski <za...@binaris.no> wrote: > >> Using cordova 6.0.0 >> >> cordova create test_ios && cd test_ios && cordova platform add ios@4.1.0 >> >> yields >> >> Creating a new cordova project. >> Error: Failed to fetch platform ios@4.1.0 >> Probably this is either a connection problem, or platform spec is >> incorrect. >> Check your connection and platform name/version/URL. >> Error: version not found: cordova-ios@4.1.0 >> >> >> I thought cordova-ios 4.1.0 was released!? >> >> https://www.npmjs.com/package/cordova-ios >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org >> For additional commands, e-mail: dev-h...@cordova.apache.org >> >> > > >-- >Alexis Kofman