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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8219443/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 22:30:37  来源:igfitidea点击:

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

iosxcodessluploadapp-store-connect

提问by Daniel

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=2442to 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.

所以我只是将我的 MacBook 升级到 Lion 并设置了我所有的 prov 配置文件和 Xcode 4.2.1。我按照以下说明操作:http: //www.weston-fl.com/blog/?p =2442 将我的应用程序上传到 App Store。我已经为我的应用程序更新准备好了 iTunes Connect - 它说正在等待上传。当我尝试与组织者一起验证或提交我的档案时,它显示an SSL error has occurred and a secure connection to the server cannot be made. 有没有人见过这个错误?我很难过。

采纳答案by Andrew

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 分钟的时间。

回答by Jared Egan

Restarting Xcode worked for me. Hooray!

重新启动 Xcode 对我有用。万岁!

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

当这不起作用时,重新启动我的计算机即可。万岁!

回答by Edward Chiang

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

尝试关闭并重新打开 Wifi。这应该会给你一个新的互联网连接。

回答by raz

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

如果您在重启后没有收到,请在 24 小时后上传,我成功了

回答by DanKodi

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 能够上传版本。

回答by Anthony F

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?

这现在在 Xcode6.4 中发生在我身上。最近出现了许多 SSL 错误和修复程序,我猜他们不赞成使用 Xcode6 使用的加密方法?

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

幸运的是,解决方法是使用 XCode7 从 XCode6 提交构建,并且一切似乎都正常工作。

回答by veta

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

回答by nikki

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,尽管上传时间比平时长,但它仍然有效。

回答by J2K

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

对我来说,问题最终是我使用的是 VPN。把它关掉,它马上就起作用了。