简体   繁体   English

尝试将应用程序上传到App Store时,Xcode会产生SSL错误

[英]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. 所以我只是将我的MacBook升级到Lion并设置了我所有的prov配置文件和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. 我按照这里的说明操作: http//www.weston-fl.com/blog/? p = 2442将我的应用程序上传到App Store。 I have iTunes Connect all ready for my app update - it says waiting for upload. 我有iTunes Connect准备好我的应用程序更新 - 它说等待上传。 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 . 当我尝试使用组织者验证或提交我的存档时,它表示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. 我很难过。

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. 我有相同的错误消息,我尝试使用Application Loader,仔细检查密码和帐户信息,通过Safari登录,退出Safari等。最终对我有用的只是重新启动我的电脑。

Very frustrating, but hopefully this helps someone else save 15 minutes of time. 非常令人沮丧,但希望这可以帮助别人节省15分钟的时间。

Restarting Xcode worked for me. 重启Xcode对我有用。 Hooray! 万岁!

When this didn't work, restarting my computer worked. 如果这不起作用,重新启动我的电脑工作。 Hooray! 万岁!

Try turning Wifi off and on again. 尝试关闭再打开Wifi。 This should get you a new internet connection. 这应该会让你有一个新的互联网连接。

如果你没有重新启动,24小时后上传,我成功了

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. 在提交过程中,我关闭了一些打开的应用程序,即ms word和photoshop,突然xcode能够上传该版本。

This is now happening for me in Xcode6.4. 这在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? 最近有一些SSL错误和修复,我的猜测是他们弃用了Xcode6使用的加密方法?

Fortunately the workaround was to use XCode7 to submit a build from XCode6 and everything seems to work correctly. 幸运的是,解决方法是使用XCode7从XCode6提交构建,一切似乎都正常工作。

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. 第二次,我刚刚重新启动了XCode,尽管上传的时间比平时要长,但它确实有效。

For me the problem ended up being I was using a VPN. 对我来说问题最终是因为我正在使用VPN。 Turned it off and it worked right away. 关闭它,它立即工作。

flushing DNS worked for me: http://osxdaily.com/2014/11/20/flush-dns-cache-mac-os-x/ 刷新DNS为我工作: http//osxdaily.com/2014/11/20/flush-dns-cache-mac-os-x/

before that I also tried restarting xcode 在此之前我还尝试重启xcode

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM