xcode 将 IOS 应用上传到应用商店。似乎冻结和互联网停止工作

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14247449/
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-15 02:29:20  来源:igfitidea点击:

Uploading IOS app to app store. Seems to freeze and internet stop working

iosxcodeupload

提问by johnnym65

In Xcode i have have created an archive of the app. Verified it no problem. then when i click Distribute i get as far as "Your application is being uploaded" and shows the progress bar. The bar never moves and after a few minutes my internet breaks. i need to restart my router to get the internet back.

在 Xcode 中,我已经创建了该应用程序的存档。验证没问题。然后当我单击分发时,我会得到“您的应用程序正在上传”并显示进度条。酒吧从不移动,几分钟后我的互联网中断了。我需要重新启动我的路由器才能恢复互联网。

one of the times i received this error "SSL error occured and a secure connection to the server cannot be made"

有一次我收到此错误“发生 SSL 错误,无法与服务器建立安全连接”

Anyone ever experienced this or have an idea of whats happening?

任何人都经历过这种情况或知道发生了什么?

Thanks

谢谢

回答by Himanshu Agnihotri

I also faced this problem: "your application is being uploaded stuck"

我也遇到过这个问题:“您的应用程序正在上传卡住

My ANSWER IS:

我的答案是:

Either just delete your derived data from organizer or Instead of uploading via Xcode, try via it using Application Loader.

要么只是从管理器中删除您的派生数据,要么不要通过 Xcode 上传,而是使用 Application Loader 尝试通过它

I choosed via Appplication Loader and Steps to do that are:

我选择通过应用程序加载器和步骤来做到这一点:

Step1:Make .ipa file via Ad-Hoc Deployment by click Distribution button.

步骤 1:通过单击分发按钮通过 Ad-Hoc 部署制作 .ipa 文件。

Step2:Find from menu bar of Xcode -> Open Developer Tool -> Application Loader.

Step2:从Xcode的菜单栏找到->打开开发者工具->应用程序加载器。

Step3:Then upload it that .ipa file in Application Loader.

第三步:然后在应用程序加载器中上传该 .ipa 文件。

**

**

OR ANOTHER SOLUTION

或其他解决方案

**

**

For uploading it via XCode:

通过 XCode 上传:

Step1:Firstly Validate your archive file by clicking on validation button of Organiser.

步骤1:首先通过单击组织者的验证按钮来验证您的存档文件。

Step2:Then Upload it to App Store via Oraganiser.This way you can also solve this problem as well

步骤 2:然后通过 Oraganiser 将其上传到 App Store。这样你也可以解决这个问题

THIS IS MY ANSWER . HAPPY TO HELP :):)

这是我的答案。很高兴能帮助你 :):)

回答by Kursat Turkay

apple uses java ? my mac does not have problem for internet.any application can download/upload. except xcode's organizer's distribute or application loader blocks whole internet and modem stops working for a temporal time.

苹果用java?我的 mac 没有互联网问题。任何应用程序都可以下载/上传。除了 xcode 的组织者的分发或应用程序加载器阻止整个互联网和调制解调器停止工作一段时间。

it is obvious not a mac problem. but apple's uploading system strategy seems not good. they gotto fix this.

很明显不是mac问题。但苹果的上传系统策略似乎不太好。他们必须解决这个问题。

回答by Gabriel.Massana

  • I updated my old Java version (from 21 to 51). Is still freezing my Internet.
  • I validated my archive with Organizer. Is still freezing my Internet.
  • I tried to upload an IPA with Application Loader. Is still freezing my Internet.
  • I deleted all my old archives in Organizer. Is still freezing my Internet.
  • 我更新了旧的 Java 版本(从 21 到 51)。仍然冻结我的互联网。
  • 我使用 Organizer 验证了我的档案。仍然冻结我的互联网。
  • 我尝试使用 Application Loader 上传 IPA。仍然冻结我的互联网。
  • 我删除了管理器中的所有旧档案。仍然冻结我的互联网。

Finally I connected my Mac to Internet through my iPhone's Internet. In resume I connected my Mac to Internet with another provider. This solved my problem

最后,我通过 iPhone 的互联网将我的 Mac 连接到互联网。在简历中,我通过另一家提供商将 Mac 连接到 Internet。这解决了我的问题

Sounds like my land ADSL provider have some problem with the AppStore.

听起来我的土地 ADSL 提供商对 AppStore 有一些问题。

回答by Aaron Brager

I've heard of some users having issues if they're running old versions of Java. If you can't update, or if updating doesn't fix it, you can try:

我听说有些用户在运行旧版本的 Java 时会遇到问题。如果您无法更新,或者更新无法解决问题,您可以尝试:

sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5

sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0

(other similar workarounds here.)

这里有其他类似的解决方法。)

It could also be an Internet connectivity issue.

这也可能是 Internet 连接问题。

Either way, you can also try uploading your app using Application Loader.

无论哪种方式,您也可以尝试使用 Application Loader 上传您的应用程序

回答by Russell

It will be to do with your firewall on your mac, it may be blocking java all together. Go to settings, security and privacy and then firewall. Once on there go to fire wall options and then there should be an option to allow java to pass through the firewall. Hope that helps, did with me :)

这将与您的 mac 上的防火墙有关,它可能会一起阻止 java。转到设置、安全和隐私,然后转到防火墙。进入防火墙选项后,应该有一个选项允许java通过防火墙。希望有帮助,对我做了:)

回答by ZZZ

None of the above suggestions work for me. Likely the real cause is physical and related how Application Loader is using the internet. I have ADSL2 connection with a Netgear modem/router assigning each device at home a fixed IP address according to the mac address of the network interface of each device. I had noticed that when Application Loader is uploading, my Windows PC could not connect to the internet. However, if in Mac mini I use Safari doing various things like watching video, my Windows PC can access internet.

以上建议都不适合我。可能真正的原因是物理的和相关的 Application Loader 如何使用互联网。我有一个与 Netgear 调制解调器/路由器的 ADSL2 连接,根据每个设备的网络接口的 mac 地址为家里的每个设备分配一个固定的 IP 地址。我注意到当 Application Loader 上传时,我的 Windows PC 无法连接到互联网。但是,如果在 Mac mini 中我使用 Safari 执行各种操作(例如观看视频),则我的 Windows PC 可以访问互联网。

Even stranger, when Application Loader is uploading, the modem/router could easily lost connection to the internet, as I could see from the LED lights of the modem. The connection is lost randomly at any progress of uploading the 20 MB file.

更奇怪的是,当 Application Loader 正在上传时,调制解调器/路由器很容易失去与互联网的连接,正如我从调制解调器的 LED 灯中看到的那样。在上传 20 MB 文件的任何过程中,连接都会随机丢失。

So I had turned off Windows PCs, iPads, iPhones and Android device at home, so Mac mini is the only device using the Internet, the Application Loading has finally been able to upload the app successfully in one go.

于是我在家里关掉了Windows PC、iPad、iPhone和Android设备,所以Mac mini是唯一使用互联网的设备,Application Loading终于可以一次性成功上传应用程序了。

My guess is, my home phone line has some noise, and Application Loader is using the internet aggressively particularly the up link, so stressing out the modem, then causing other devices like my Windows PC lost connection, not even able to resolve host. When Safari is uploading video to App Store, no problem.

我的猜测是,我的家庭电话线有一些噪音,并且 Application Loader 正在积极使用互联网,尤其是上行链路,因此给调制解调器带来压力,然后导致其他设备(例如我的 Windows PC)失去连接,甚至无法解析主机。当 Safari 将视频上传到 App Store 时,没问题。

So my working solution is to make Mac be the only device using the Internet, given that the internet connection is already in poor condition with noise, near the edge of losing connection.

所以我的工作解决方案是让 Mac 成为唯一使用 Internet 的设备,因为 Internet 连接已经处于不良状态,并且有噪音,接近失去连接的边缘。