简体   繁体   English

App Store 上传真的很慢,占用了我的互联网连接

[英]App Store upload is really slow and hogging my internet connection

In the past 6 months every time I upload a new version/build to the Apple App Store through Xcode / Application Loader , it takes between 20-40 minutes for even the smallest app.在过去的 6 个月里,每次我通过Xcode / Application Loader将新版本/构建上传到 Apple App Store 时,即使是最小的应用程序也需要 20-40 分钟。 The uploader is always stuck at the beginning and when if finishes after a huge amount of time, the progress bar just jumps to the end.上传器总是卡在开头,如果在很长一段时间后完成,进度条就会跳到结尾。

在此处输入图片说明

Also, and the most annoying, it totally hogs my internet connection (and anyone who is connected to the network aside from me) .此外,最烦人的是,它完全占用了我的互联网连接(以及除我之外连接到网络的任何人) It's not usable at all.. it's really frustrating to upload a build to the App Store for so much time while it totally kills my internet connection -> it happens on any internet connection I try to upload from: Home, office, friends houses, public networks at the mall / restaurants.它根本不可用.. 将构建上传到 App Store 这么长时间真的很令人沮丧,同时它完全破坏了我的互联网连接 -> 它发生在我尝试从以下位置上传的任何互联网连接上:家、办公室、朋友家,商场/餐厅的公共网络。

在此处输入图片说明

When I upload APKs to the Google Play Store, everything works crazy fast (5-10min tops!) and my internet connection is working fine while doing it.当我将 APK 上传到 Google Play 商店时,一切都运行得非常快(最多 5-10 分钟!)并且我的互联网连接在这样做时工作正常。

I also tried opening a bug report ticket to Apple, but because it's Apple, they didn't even take the time to answer it for almost a month now.我也尝试向 Apple 开一个 bug 报告票,但因为是 Apple,他们甚至没有花时间回答这个问题,已经快一个月了。

Does this happen to anyone here?这里有人遇到这种情况吗? Is there a way around it?有办法解决吗?

Thank you very much :)非常感谢你 :)

It is apple algorithm to validate first then accept application.先验证后接受申请是苹果算法。

Sometime it uploads in 10-12 minutes sometime takes 30 minutes.有时它在 10-12 分钟内上传有时需要 30 分钟。 It depends on internet speed, server load while uploading...这取决于互联网速度,上传时的服务器负载......

Developers working outside Apple have to keep patience, No Other way在苹果之外工作的开发者必须保持耐心,别无他法

Best is try to upload with Application loader.最好是尝试使用应用程序加载器上传。

I had the same issue and it was completely fixed upon updating itmstransporter.我有同样的问题,它在更新 itmstransporter 后完全修复。

cd ~  
mv .itmstransporter/ .old_itmstransporter/  
"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"  

Please refer to https://forums.developer.apple.com/thread/76803 (look at KumobiusIvan's answer)请参考https://forums.developer.apple.com/thread/76803 (看KumobiusIvan的回答)

步骤 0 First Export the ipa with export functionality of xcode and the upload it with Application loader首先使用 xcode 的导出功能导出 ipa,然后使用 Application loader 上传它

You can use this tool provided by xcode it self,您可以自行使用 xcode 提供的这个工具,

第1步

第二步

I think sometime the internet connection works well, few ports in your connection internet setting needs to be open.我认为有时互联网连接运行良好,您的连接互联网设置中的几个端口需要打开。

This might because of the Firewall issue.这可能是因为防火墙问题。

We had similar kinds of issue in our organisation but then the link below was helpful for a work around.我们在我们的组织中遇到了类似的问题,但下面的链接有助于解决问题。

itunesconnect using application loader behind a firewall itunesconnect 使用防火墙后面的应用程序加载器

I have the same problem.我有同样的问题。 fastlane deliver worked for me. fastlane deliver对我fastlane deliver Still very slow, but at least it works and does not hog internet.仍然很慢,但至少它可以工作并且不会占用互联网。 Here the docs这里的文档

I have also faced this issue while uploading build through Xcode.我在通过 Xcode 上传构建时也遇到了这个问题。 There was no indication or progress update while uploading build.上传构建时没有指示或进度更新。 So I tried uploading build through Application Loader.所以我尝试通过 Application Loader 上传构建。

While uploading build to App Store apple performed few checks like将构建上传到 App Store 时,苹果执行了一些检查,例如

1. It first checks the valid profile for build on iTunes Connect. 1. 它首先检查在 iTunes Connect 上构建的有效配置文件。 If there is any valid profile then we can upload build.如果有任何有效的配置文件,那么我们可以上传构建。

2. First thing happens while uploading build is verification of assets and also build validation by iTunes; 2. 上传构建时发生的第一件事是资产验证和 iTunes 构建验证; this is the stage which consumes maximum time of build upload process.这是消耗构建上传过程最长时间的阶段。 (In my case it took 20 minutes avg. while doing it through Application Loader) (在我的情况下,通过 Application Loader 平均需要 20 分钟)

3. Once verification and validation succeed build uploading starts. 3. 一旦验证和验证成功构建上传开始。 We can see the upload progress in Application Loader.我们可以在 Application Loader 中看到上传进度。

As suggested in this SO answer use the Application Loader and uncheck the Aspera and Firmante options in preferences/advanced.正如此 SO答案中所建议的,使用应用程序加载程序并取消选中首选项/高级中的 Aspera 和 Firmante 选项。

Probably is just enough deactivating the Firmante option.可能就足以停用 Firmante 选项。

Also check that you have enough ram for the app delivery.还要检查您是否有足够的内存用于应用程序交付。 I recommend you to shut down Xcode and any other RAM intensive application.我建议您关闭 Xcode 和任何其他 RAM 密集型应用程序。

My situation is very similar to the OP.我的情况与OP非常相似。

None of the above suggestions work for me.以上建议都不适合我。 Likely the real cause is physical and related how Application Loader is using the internet.可能真正的原因是物理的和相关的 Application Loader 如何使用互联网。 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.我有一个与 Netgear 调制解调器/路由器的 ADSL2 连接,根据每个设备的网络接口的 mac 地址为家里的每个设备分配一个固定的 IP 地址。 I had noticed that when Application Loader is uploading, my Windows PC could not connect to the internet.我注意到当 Application Loader 上传时,我的 Windows PC 无法连接到互联网。 However, if in Mac mini I use Safari doing various things like watching video, my Windows PC can access internet.但是,如果在 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.更奇怪的是,当 Application Loader 正在上传时,调制解调器/路由器很容易失去与互联网的连接,正如我从调制解调器的 LED 灯中看到的那样。 The connection is lost randomly at any progress of uploading the 20 MB file.在上传 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.我的猜测是,我的家庭电话线有一些噪音,并且 Application Loader 正在积极使用互联网,特别是上行链路,因此给调制解调器带来压力,然后导致其他设备(例如我的 Windows PC)失去连接,甚至无法解析主机。 When Safari is uploading video to App Store, no problem.当 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 连接状况已经很差,并且有噪音,接近失去连接的边缘。

您需要使用 Transporter 应用程序,您可以从这里下载https://developer.apple.com/news/?id=10152019a

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

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