Upgrading Cordova IOS from 3.1.0 to 3.4.1

71 views
Skip to first unread message

Rakesh vidya chandra

unread,
Jul 27, 2015, 2:09:59 PM7/27/15
to phonegap

I am a newbie and I am trying to deploy a IOS project to the store, which uses Cordova version of 3.1.0. When I validate I am getting an error "Itunes store operation failed" as Cordova version 3.1.0 doesn't support arm 64. To upgrade from 3.1.0 to 3.4.1, I followed the below steps:

  1. I used npm command to upgrade: sudo npm update -g cordova
  2. To update the platform : cordova platform update ios

At second step I am facing an error: "Current working directory is not a Cordova-based project."

Am I following the correct way? If right. how to fix the error in the second step? If wrong, what is the best possible way to upgrade my project to be deployed to store with arm 64 support?


Also found that my old project which is using the cordova version 3.1.0 doesn't contain the folder "platforms" Could be the culprit? If so, how can I deal with?

Please help me out. Thanks in advance. 

Kerri Shotts

unread,
Jul 27, 2015, 2:30:36 PM7/27/15
to phonegap, rakhigon...@gmail.com, rakhigon...@gmail.com
How'd you build the old app? It's possible you did that using PhoneGap Build (which wouldn't have the platforms and related dirs).

I'd just create a new project and then copy over your www files, update your config.xml, and re-add any plugins. It will probably be simpler that way.

Rakesh vidya chandra

unread,
Jul 28, 2015, 6:10:34 AM7/28/15
to phonegap, kerri...@gmail.com
Thanks for your answer Kerri Shotts. But, the www files (platforms-->ios-->www) are missing in my condition, can you please suggest me on how to go ahead with your solution?

Kerri Shotts

unread,
Aug 2, 2015, 5:10:10 PM8/2/15
to phonegap, kerri...@gmail.com
Note that I didn't suggest copying over your platforms->ios->www files -- I meant copy over your project's www directory to a new project.
Reply all
Reply to author
Forward
0 new messages