74
votes

I am using xcode 7.1 and trying to upload my app to the app store directly through xcode. While uploading I am getting a weird error:-

cannot verify client 3000

Note:- I recently made changes in the accounts (xcode preference section). Is this related to my error?

I also restart the xcode but issue still there?

I already checked this question on SO, but they say restart your xcode. But this does not solve my problem.

15
see this link may be helps you forums.developer.apple.com/thread/6740Anbu.Karthik
Yep! Now I will try with Application Loader.pkc456
both are same , its your luck try onceAnbu.Karthik
I re-installed the xcode. Now error goes away. Now the build is not showing up at iTunes connect. Strange!pkc456
ok , very happy , in itunes conncet need to wait for some timeAnbu.Karthik

15 Answers

42
votes

For my case,I got this error after selecting "Generic iOS Device" when archiving, however i plugged in my iPhone and selected it, then archived, I got no errors this time.(I also cleaned both Shift+cmd+k and Shift+alt+cmd+k before archiving)

23
votes

I encountered the same issue the first time I tried to submit to app store with the target on my device.

What worked for me:
I retried a couple of minutes later without changing a thing and everything went smooth.

15
votes

This is temporary apple server bug. Try it again OR Retry after some time it will fix the problem. Thanks

10
votes

There is no need to reinstall Xcode. Just wait a few minutes and try again and it will work.

10
votes

I tried :

  • waiting days,
  • restarting,
  • deleting the developer account in preferences,
  • submitting archives from a connected device,
  • submitting archives from a iOS generic device.

Nothing worked.

I needed to:

  • create an archive (it was from a connected device),
  • in the organiser window select the export button (on the right hand side underneath the "Upload to App Store" button.
  • Select that the export is for app store distribution.
  • Wait.
  • Take a note of the location the .ipa file is saved to.
  • Go back to Xcode, then select the menu item Xcode > Open Developer Tool > Application Loader.
  • Select Deliver Your App, and select choose.
  • Navigate to your .ipa file noted above.
  • Select next, wait, next, check for any error message, send.

Hope this helps someone.

8
votes

I got this error while uploading my distribution archive to App Store with selecting Distribution provisioning profile scheme -> Product -> Archive -> Upload to App Store. The error is based on I chose my real iphone device in Xcode by mistake. You need to choose "Generic iOS Device" and repeat same steps as I mentioned before.

5
votes

You have to plug in your iPhone to your Mac and try to upload to AppStore again.

1
votes

For some reason, validating the archive before uploading fixed the issue for me.

1
votes

With Xcode 7.1, I could only make a successful build without bitcode. Try it out if everything else fails.

1
votes

I resolved this by exporting ("export" in xcode archive organizer -> "to iOS App Store") and using the Application Loader instead of xcode to submit.

1
votes

It is recurring. Seems to me like an internal error with apples identification service or so.

My definite solution: Get yourself a cup of tea and try it again.

You can, of course, do some voodoo or change the target device or something, but re-trying after a while will do.

0
votes

I have the same issue. I did the below steps: Step 1: Select Code Signing Identity for "Release" Step 2 : Select Distribution profile

0
votes

I tried to use Application Loader instead and it worked well. Maybe that helps

0
votes

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.

0
votes

This one worked for me:

  1. Delete the Archive that failed during upload.
  2. Clean the solution.
  3. Rebuild the solution.
  4. Archive the it.
  5. Go to Xcode's Organizer, then Validate (this should be 'Successful').
  6. Upload the build.