Daniel
Daniel

Reputation: 493

Xcode produces an SSL error when attempting to upload app to App Store

So I just upgraded my MacBook to Lion and setup all my prov profiles and Xcode 4.2.1. I followed the instructions here: http://www.weston-fl.com/blog/?p=2442 to upload my app to the App Store. I have iTunes Connect all ready for my app update - it says waiting for upload. When I try with organizer to validate or submit my archive, it says an SSL error has occurred and a secure connection to the server cannot be made. Has anybody ever seen this error before? I'm pretty stumped.

Upvotes: 31

Views: 17492

Answers (9)

Anthony F
Anthony F

Reputation: 6216

This is now happening for me in Xcode6.4. There have been a number of SSL bugs and fixes lately and my guess is that they deprecated the encryption method used by Xcode6?

Fortunately the workaround was to use XCode7 to submit a build from XCode6 and everything seems to work correctly.

Upvotes: 1

veta
veta

Reputation: 736

flushing DNS worked for me: http://osxdaily.com/2014/11/20/flush-dns-cache-mac-os-x/

before that I also tried restarting xcode

Upvotes: 0

DanKodi
DanKodi

Reputation: 3640

I got the same error several times. During the submission I was closing some of the applications that was opened namely ms word and photoshop and suddenly xcode was able to upload the release.

Upvotes: 1

Jared Egan
Jared Egan

Reputation: 1288

Restarting Xcode worked for me. Hooray!

When this didn't work, restarting my computer worked. Hooray!

Upvotes: 28

raz
raz

Reputation: 67

if you not getting after restart, upload after 24 hours, i succeded

Upvotes: 1

J2K
J2K

Reputation: 1611

For me the problem ended up being I was using a VPN. Turned it off and it worked right away.

Upvotes: 0

nikki
nikki

Reputation: 11

Restarting my machine fixed the problem...until I tried to submit another app. The second time, I just restarted XCode and, even though it took way longer than usual to upload, it worked.

Upvotes: 0

Edward Chiang
Edward Chiang

Reputation: 1163

Try turning Wifi off and on again. This should get you a new internet connection.

Upvotes: 1

Andrew
Andrew

Reputation: 2710

I had the same error message and I tried using Application Loader, double checking password and account information, logging in via Safari, quitting Safari, etc. What eventually worked for me was simply restarting my computer.

Very frustrating, but hopefully this helps someone else save 15 minutes of time.

Upvotes: 29

Related Questions