Search code examples
xcodecordovaitunes

Can't upload phone gap to app store - Error itms-90035 - Xcode


I'm well aware that there many similar question in SO to similar issues, but none of the solution helped, and also the error msg I get is different enter image description here

Background: i've been submitting successfully many apps before (with much struggle...), my MAC crashed and I've reinstalled it.

I had to revoke my Distribution Certificate, I've downloaded and install the new certificate.

I've created a new app, and a new App Id + Distribution Provision certificate.

Download and install in xcode

In Build Settings > Code Signing I choose the Distribution Provision certificate i've created and downloaded.

One strange thing is that it shows 'iphone distribution' while it was normally showing 'IOS distribution'

Other than this all goes smoothly but than when I submit to app store it gets stuck for 10 minuets and than I get this error.

Please help...

NOTEs:

  1. in other thread the error specified a specific file, the error I get doesn't specified any file

  2. the solution in other thread was to delete .sh files from target, I don't have any .sh in my target. I tried to delete other files that seems to be not needed from the target - it didn't help

Edit:

I tried to recreate everything from scratch - I delete all keys/certificates from key chain, I've revoked Distribution certificates, created a new App Id, create a new Provisioning profile, created a new App in itune.

Edit: I updated my Cordoba and Xcode, I created a new Cordova app from scratch, Upload it to itune - upload successful!!!

I copied the www dir from my original project to the new project - receive the previous itms-90035 error

So there is some files in the www folder that causing this, but how can I find out which of my hundreds is causing this? other than trying to upload every possible sub-group of these files - which will take about a year.


Solution

  • I found an old build.sh file in my www (from ancient phonegap time), deleted it and WALLA - problem solved.