ios 应用程序加载器卡在“使用 iTunes Store 进行身份验证”阶段
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18971710/
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
application loader stuck at the stage of "Authenticating with the iTunes Store"
提问by piaChai
I was about to upload an app to iTunes connect,but the application loader has been stuck at the stage of "Authenticating with the iTunes Store" and pending for almost an hour.Network is fine and I have never seen this before.Has anybody encountered this kind of issue? what is the solution?thanks in advance.
我正要上传一个应用程序到 iTunes 连接,但应用程序加载器一直卡在“使用 iTunes Store 进行身份验证”阶段并挂起将近一个小时。网络很好,我以前从未见过这种情况。有没有人遇到过这种问题?什么是解决方案?提前致谢。
回答by Wharbio
I had this problem when behind a firewall.
我在防火墙后面时遇到了这个问题。
I got around it by editing:
我通过编辑解决了它:
/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/MacOS/itms/java/lib/net.properties
If you do not find net.properties
in above mentioned path then try, as it is changed now.
如果您net.properties
在上述路径中没有找到,请尝试,因为它现在已更改。
/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/lib/net.properties
Change the line:
更改行:
# https.proxyPort=443
To:
到:
https.proxyPort=80
This enables the application to use the HTTP port for HTTPS. Worked straight away after this. Hope this helps.
这使应用程序能够将 HTTP 端口用于 HTTPS。此后立即工作。希望这可以帮助。
回答by Murat Calim
To be honest, this may not be an answer but it really worked for me.
老实说,这可能不是一个答案,但它确实对我有用。
- I launched
Application Loader
and started submitting. While sumbitting was going on, - I launched
Organiser
and selectDistribution over archiver in Xcode
as well and started uploading concurrent.
- 我启动
Application Loader
并开始提交。在进行sumbitting的同时, - 我也启动
Organiser
并选择Distribution over archiver in Xcode
并开始并发上传。
They worked together and 2nd one completed the submission.
他们一起工作,第二个完成了提交。
Just my experience.
只是我的经验。
回答by Ali Hamza
I tried many solutions like using port 80 for https connection but none of the solution worked for me.
我尝试了许多解决方案,例如使用端口 80 进行 https 连接,但没有一个解决方案适合我。
https.proxyPort=443
https.proxyPort=443
to https.proxyPort=80
到 https.proxyPort=80
Whenever I face this issue, I upload application from two different instancesof application loader and it works like a charm.
每当我遇到这个问题时,我都会从两个不同的应用程序加载器实例上传应用程序,它的工作原理非常棒。
I have two different versions of application loader on my machine, one came with XCode4 and one came with XCode5. It always works if I upload application from two instances simultaneously.
我的机器上有两种不同版本的应用程序加载器,一种带有 XCode4,一种带有 XCode5。如果我同时从两个实例上传应用程序,它总是有效。
回答by Nirav Bhatt
I was quite frustrated by this - not only by the problem itself but the uncertainty till when I need to wait to call it "It won't - try again." - at which point I will quit the Application Loader app, re-package my ipa file and try again. Probably with a port change to net.properties file. But it didn't always work the same way as it did last time. So I am writing it here, mostly for the sake of myself!
我对此感到非常沮丧 - 不仅是问题本身,还有不确定性,直到我需要等待才能称之为“它不会 - 再试一次”。- 此时我将退出 Application Loader 应用程序,重新打包我的 ipa 文件并重试。可能对 net.properties 文件进行了端口更改。但它并不总是像上次那样工作。所以我写在这里,主要是为了我自己!
I was about to just call another day thrown when this worked, almost like a charm:
当这个工作时,我正要打电话给另一天,几乎就像一个魅力:
1) Open file. Applications > Xcode > Contents > Applications > Application Loader > Contents > MacOS > itms > java > lib - net.properties
1) 打开文件。Applications > Xcode > Contents > Applications > Application Loader > Contents > MacOS > itms > java > lib - net.properties
2) Change the line:
2)换行:
# https.proxyPort=<whatever>
to
到
https.proxyPort=80
Make sure that you do not uncomment # https.proxyHost=
- just leave it as shown (commented).
确保您没有取消注释# https.proxyHost=
- 只是如图所示(注释)。
3) Start Application Loader. Follow usual steps and start uploading your ipa using Send command.
3) 启动应用程序加载器。按照通常的步骤并开始使用发送命令上传您的 ipa。
4) If it seems to be getting past "“Authenticating with the iTunes Store” in reasonable time (say 10 minutes at which time my patience ran out) - you are lucky. Go sleep or hang out.
4) 如果它似乎在合理的时间(比如 10 分钟,我的耐心耗尽)过去了“通过 iTunes Store 进行身份验证”——你很幸运。去睡觉或出去玩。
5) Launch Xcode Organizer. Select your archive and click Distribute button. It will show slantingprogress lines for couple of minutes. If it doesn't stop, kill Xcode and retry.
5) 启动 Xcode 管理器。选择您的档案并单击分发按钮。它将显示几分钟的倾斜进度线。如果它没有停止,请杀死 Xcode 并重试。
6) After about 2 slantminutes, the blue solid progress will appear, and there flies your "Flappy Bird"...! (mine was neither Flappy nor Bird)
6) 大约倾斜2分钟后,会出现蓝色固体进度条,你的“Flappy Bird”飞起来了……!(我的既不是 Flappy 也不是 Bird)
(Keep the Application Loader alive, just for the sake of having it around, I don't know if it's useful anymore, but I am just superstitious)
(保持Application Loader活着,只是为了有它在身边,我不知道它是否有用,但我只是迷信)
- Workarounds apart, this is something Apple must fix before releasing iOS 8 or iPhone 6. Seriously. If they don't, I am not wasting my $100 next year.
- 除了变通办法之外,这是 Apple 在发布 iOS 8 或 iPhone 6 之前必须解决的问题。说真的。如果他们不这样做,我明年就不会浪费我的 100 美元。
(Or - will this bug be still around to prevent those "Flappy" clones from flooding the app store, forever?)
(或者 - 这个错误是否仍然存在以防止那些“Flappy”克隆永远充斥应用商店?)
回答by acecilia
Tested with xCode 5: In my case nor organizer or application loader worked: they got stacked in “Authenticating with the iTunes Store”.
用 xCode 5 测试:在我的情况下,组织者或应用程序加载器都不起作用:它们被堆叠在“使用 iTunes Store 进行身份验证”中。
I solved it sending the app by application Loader, and when it got to the “Authenticating with the iTunes Store” I opened the organizer and upload the app: application Loader and organizer sending the app at the same time.
我解决了它通过应用程序加载器发送应用程序,当它到达“使用iTunes Store进行身份验证”时,我打开组织者并上传应用程序:应用程序加载器和组织者同时发送应用程序。
It seems that something is going in my router port configuration and my computer can not receive the answer from itunes store saying that authentication was successful. Maybe the process is this way:
我的路由器端口配置似乎有问题,我的计算机无法从 iTunes 商店收到回答,说身份验证成功。也许过程是这样的:
1- Application loader request authentication.
1- 应用程序加载器请求身份验证。
2- Itunes store authentication is done but application loader never receives the answer. [But it is authenticated anyway!]
2- iTunes 商店身份验证已完成,但应用程序加载程序从未收到答案。【但无论如何都是经过认证的!】
3- Organizer sends the app because it is already authenticated by application loader.
3- Organizer 发送应用程序,因为它已经通过应用程序加载器的身份验证。
回答by Vishal Rajole
I solved this problem by starting second instance of Application Loader while first instance saying "Authenticating with the App Store...". You can start second instance of Application Loader from Terminal using:
我通过启动 Application Loader 的第二个实例解决了这个问题,同时第一个实例说“使用 App Store 进行身份验证...”。您可以使用以下命令从终端启动 Application Loader 的第二个实例:
open -n -a "Application Loader"
回答by Vitaliy Gozhenko
Try use another internet connection. I have the same problem when try upload app via Wi-Fi. Nothing helps me, but when I disable Wi-Fi and try do it via EDGE on my iPhone, everything is works!
尝试使用其他互联网连接。尝试通过 Wi-Fi 上传应用程序时,我遇到了同样的问题。没有任何帮助,但是当我禁用 Wi-Fi 并尝试通过 iPhone 上的 EDGE 执行此操作时,一切正常!
回答by Farooq Nasim Ahmad
If validation is successful while uploading through organiser then it must be network issue. Application loader uses some specific ports including port 443. If any of those ports are blocked by your internet service provider or on your local network then application loader can stuck. Certain applications also block these ports. If you are running Skype close it. If it does not work then this solution worked for me finally. Make modifications in net.properties file. You can access this file by going to Application folder via terminal.Then move into Xcode.app with cd Xcode.app next
如果通过管理器上传时验证成功,则一定是网络问题。应用程序加载器使用一些特定的端口,包括端口 443。如果这些端口中的任何一个被您的互联网服务提供商或您的本地网络阻止,则应用程序加载器可能会卡住。某些应用程序还会阻止这些端口。如果您正在运行 Skype,请关闭它。如果它不起作用,那么这个解决方案最终对我有用。在 net.properties 文件中进行修改。您可以通过终端转到应用程序文件夹来访问此文件。然后使用 cd Xcode.app 进入 Xcode.app 下一步
Contents with cd Contents next
内容与 cd 内容下一个
Application Loader.app with cd Application\ Loader.app next
Application Loader.app 与 cd Application\ Loader.app next
Contents/MaxOS/itms/java/lib
目录/MaxOS/itms/java/lib
Now you find net.properties.
现在您找到 net.properties。
Now write sudo pico net.properties and add following lines in the file
现在编写 sudo pico net.properties 并在文件中添加以下几行
https.ProxyHost=
https.ProxyHost=
https.ProxyPort=
https.ProxyPort=
https.ProxyUser=
https.ProxyUser=
https.ProxyPassword=
https.代理密码=
Now launch application loader to upload you ipa file and it will work like a charm.
现在启动应用程序加载器来上传你的 ipa 文件,它会像魅力一样工作。
回答by Mashhadi
You may give a try to application uploader
. Yesterday me too faced this problem and even application upload didn't work for me then I tried this:
你可以试试看application uploader
。昨天我也遇到了这个问题,甚至应用程序上传对我也不起作用,然后我尝试了这个:
For uploading it via XCode:
通过 XCode 上传:
Step1: Firstly Validate your archive file by clicking on validation button of Organiser.
Step2: Then Upload it to App Store via Oraganiser. By clicking on distribute and then first option and so on.
步骤1:首先通过单击组织者的验证按钮来验证您的存档文件。
第二步:然后通过 Oraganiser 将其上传到 App Store。通过单击分发,然后单击第一个选项,依此类推。
it really worked for me
它真的对我有用
回答by Xiang LI
Sometimes it is the network trick. Connecting to different network may solve this problem.
有时是网络把戏。连接到不同的网络可能会解决这个问题。
I tried both the two ways(Xcode/application uploader) at home, neither worked.
我在家里尝试了两种方式(Xcode/应用程序上传器),都没有奏效。
Then, I brought my macbook from home to library, it finished uploading within 3~5 minutes there(via application uploader).
然后,我把我的 macbook 从家里带到图书馆,它在 3~5 分钟内完成上传(通过应用程序上传器)。