114

Just updated to Xcode 7.1 and getting this error. Was able to upload fine using 7.0.1

nevster
  • 6,271
  • 7
  • 35
  • 42
  • 5
    Without restarting Xcode 7.1, *Clean* and *Clean Build Folder* helped. – Boris Y. Oct 25 '15 at 00:01
  • 3
    FYI I filed this radar a while back: http://openradar.me/22999921, but Apple has not said anything about it even though I've reached a couple developer relations a few times. – NachoSoto Nov 07 '15 at 22:03
  • 2
    This is almost certainly caused by a network glitch or a hiccup on the Apple servers that process the uploaded app. It would be nice if Apple could detect this and return a proper error message saying to try again. That would prevent developers from jumping through all kinds of hoops trying to figure out what went wrong like cleaning, rebuilding, using application loader instead, or my personal favorite, disconnecting your wireless mouse. When simply trying again would most likely work. – Koppacetic Jan 19 '16 at 16:10
  • Looks like Apple may have fixed it! For the last few months, I've steadily been getting rep from this question and answer - every day. As of 3 days ago, that pattern has stopped. – nevster Feb 03 '16 at 01:19

20 Answers20

182

Hmmm, well a restart of Xcode, a fresh clean, build and archive seems to have fixed it.

nevster
  • 6,271
  • 7
  • 35
  • 42
  • 24
    correct. Also, simply uploading the archive again without any changes also often does the trick. – hotdogsoup.nl Oct 28 '15 at 09:40
  • 1
    Trying to upload again, I'd just get the same error. Only after doing the above did the error go away – nevster Oct 28 '15 at 13:55
  • 1
    @Wizfinger's simple approach (which reminds me of the typical method for troubleshooting old-school Windows issues) did the trick for me. – MastaBaba Oct 29 '15 at 14:43
  • 3
    Just try it again. If you'd like any magic just tell these words loudly: harevithum haravithos, then try it again. It's working :) – BootMaker Nov 04 '15 at 22:44
  • when i followed these instructions i got a "You are not authorised to use this service iTunes app upload error". i then removed and added my apple id, and then it worked – Joris Weimar Dec 03 '15 at 09:57
  • 2
    Didn't work from first attempt, but worked from 4th or something. Should display an error with 'Xcode screwed up, just try again' instead of other misleading info. – Alex Dec 11 '15 at 11:52
61

If you encounter this error, you have two options:

Option A - Engage in an activity that takes a minute or two. Could be any of the activities described in the other answers, like re-install XCode, renew certificates, do a new build from scratch after clearing caches. Or simply go get a coffee.

or

Option B - Do nothing at all for a little while.

Then, try again. If it doesn't work, repeat.

n13
  • 6,843
  • 53
  • 40
  • It would be nice if there were at least some hint as to why simply waiting and doing nothing else is the right answer. Granted, Clean/Rebuild/Restart is a bit of a magical fix - as in there is no good reason it should fix problems but it sometimes does nonetheless - but if you know what is happening it would make this answer better. – absmiths Dec 19 '15 at 03:04
12

Just updated to Xcode 7.1 and getting this error. Was able to upload fine using 7.0.1

same here - restart, clean build, archive and upload was successful.

Ben Packard
  • 26,102
  • 25
  • 102
  • 183
Ross Knipe
  • 518
  • 3
  • 16
10

Same problem here. Grabbing a cup of ☕️ worked for me.

Svein Halvor Halvorsen
  • 2,474
  • 1
  • 16
  • 14
  • 1
    I was skeptical at this solution at first, but after 20 minutes of trying to clean build forder, re-archiving, restarting computer and the like, I decided to make some coffee. It worked right after. – JRam13 Jan 22 '16 at 20:44
7

Exporting the app as an .ipa and uploading via Application Loader 3.0 worked for me. (Restarting xcode, cleaning, and re-archiving did not.)

ams340
  • 71
  • 1
  • 1
7

I first tried to upload and got the "cannot verify client"-error. Then i did a validate, which was successfull and then again a upload which also was successfull. No restart etc. needed.

Farador
  • 71
  • 2
2

Same problem here. Clean build and deleting project caches worked.

vinhkhoa
  • 53
  • 7
2

Had the same issue and tried everything including Application Loader but still would not load into iTunes Connect. I'm running XCode 7.1.1 and OS X El Capitan.

I also have Avira (free version) installed and once I disable it, everything went through. Hope this helps someone.

Stackoverflow has been my savior and goto source for Obj C and now Swift!!

J. Doe
  • 91
  • 2
2

I had this problem for all night. Got ☕️ but didn't work.

Solved my problem only with:

  1. Switching lan to wifi connection
  2. Uploading App by Application Loader
  3. Wasn't useful but i saw than in Xcode uploading start works as well after connection switching, so maybe was a connection my problem.
Achron
  • 107
  • 5
1

Clean project not work with me in XCode 7.2. But I solve the problem by export Archive and using Application Loader.

Step:

  1. Archive you build.

  2. In Organizer: Chose your archive.

  3. Export "Save for iOS App Store Deployment".

  4. Open Application Loader (Xcode -> Open Developer Tool -> Application Loader: Download it if you don't have).

  5. Select "Deliver your App" -> Select your exported ipa.

  6. Upload.

=> Done

Dinh Le
  • 11
  • 1
1

I've been having this problem since Xcode 7.1 (for more than a month). I did everything I could trying to solve this: restart Xcode, clean project, clean build folder, build with a device connected, reinstall Xcode multiple times, even formatting the whole disk and starting from scratch. None of this worked.

During this time my colleague was always able to upload the very same builds to App Store without any problem.

Curiously, what solved this problem for me was disconnecting my non-Apple wireless mouse.

I found this out when I tried to submit an app from my home computer and got the same error. I disconnected the mouse dongle, tried again and it went through.

I've verified this three times both on my home (MacBook Pro 2013) and work computer (Mac Mini 2014).

This leads me to believe that during the app submission process Apple may check if your environment is purely made by Apple or not, and may block your submission based on that. This would explain the "Cannot verify client" message.

adrianokw
  • 387
  • 3
  • 10
1

For what it's worth: I got this error when my startdisk was almost full (less than a few hundred MB left).

Cleaning up some space and re-submitting resolved this issue.

jlapoutre
  • 1,767
  • 18
  • 22
1

Experiencing the same problem. Tried a number of the suggestions above. Ended up using the Application Uploader instead.

Xcode > Open Developer Tools > Application Loader

Bcf Ant
  • 1,639
  • 1
  • 16
  • 26
1

From the rest of the answers it seems that a lot of different things "resolve" this issue. Here are the particulars of what solved it for me:

  1. The iPad had to be plugged in.

  2. The iPad had to be signed in (i.e. not locked).

After I satisfied those two conditions, it validates and uploads reliably. If either one isn't done, I am not able to validate or upload to iTunesConnect and I get the Cannot verify client (3000) error.

helencrump
  • 1,351
  • 1
  • 18
  • 27
1

You can use Application Loader to upload your build and solve it!

afrodev
  • 1,244
  • 11
  • 11
0
  • Download Provisiononing Profiles of app on Apple Developer,
  • Quit and restart Xcode,
  • Run Provisiononing Profiles by Xcode,
  • Open app again,
  • In General -> get "fix" at Identity.

You can Archive and Upload to Apple Store

vard
  • 4,057
  • 2
  • 26
  • 46
0

When it fails two times in a row, choosing "Validate" and after that "Upload to App Store" does the trick for me.

John Houston
  • 97
  • 2
  • 10
0

I tried most of the things here, but what finally did it for me was using the Application Loader instead of trying to upload my app from the Organizer.

Once I did it from the Application Loader I got an error message related to this: ITMS-90535 Unable to publish iOS app with latest Google Signin SDK, which was the real cause of the error.

Community
  • 1
  • 1
Daniel Bang
  • 715
  • 6
  • 21
0
  1. I remade the app with "App Store" provisioning profile. Earlier it was "Ad-hoc" provisioning profile.
  2. I submitted the app from "Application Loader" instead of traditional "Organizer".

Above two steps enabled me to submit the app to iTunes Connect for beta testing also. There is always an element for surprise whenever apple releases an updated XCode.

Deepak Thakur
  • 3,453
  • 2
  • 37
  • 65
0

After trying a few things, this is what worked for me:

  • Just before uploading your executable, validate it, you then have a modal where you get to pick your binary. On the right, there's the name of the provisioning profile used. There's an arrow next to it.
  • Click on the arrow which opens the finder to the location of the provisioning profile.
  • Delete this file.
  • Restart XCode
  • Clean
  • Rebuild/Archive
  • Upload
Pang
  • 9,564
  • 146
  • 81
  • 122