Xcode 卡在“您的应用程序正在上传" [英] Xcode stuck at “Your application is being uploaded”

查看:26
本文介绍了Xcode 卡在“您的应用程序正在上传"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将我的应用程序从 Xcode 提交到 App Store 时遇到问题.我已经完成了有关我的项目的所有工作,并且它在我的 iPhone 和 iPad 上运行良好.但是当我提交我的项目时,我面临着一个巨大的问题.

I am facing an issue while submitting my app from Xcode to the App Store. I have done everything regarding my project, and its running fine on my iPhone and iPad. But when I submit my project I am facing a huge problem.

存档后首先我完成了验证.现在我在 Organizer 中的存档文件也显示状态通过验证.所以我相信我已经到了提交应用的最后一步了.

First after archive I have done the validate. Now my archive file in Organizer is showing status pass validation as well. So I believe I am at the final step of submitting the app.

  1. 我点击了分发并选择将应用提交到应用商店.

  1. I have clicked on distribute and selected submit app to app store.

登录后,我也选择了配置文件.

After login I have selected provisioning files as well.

我被困在这里.您可以在下面的屏幕截图中看到.我从来没有见过任何
进度条,我可以在其中查看提交进度或类似内容.

I am stuck here. You can see in the screenshot below. And I have never seen any
progress bar where I can see the submission progress or something like that.

我能看到的唯一屏幕是:

Only screen I can see is:

大约 1.30 小时.和互联网连接工作.我的 ipa 文件只有 3.5 MB.

It was near about 1.30 hours. And internet connection is working. My ipa file is only 3.5 MB.

最后当我尝试应用程序加载器上传相同的内容时,我在使用 iTunes Store 进行身份验证... ..

And last when I tried Application loader to upload the same I received the following screen as well for a long time in Authenticating with the iTunes Store... ..

我现在该怎么办?

推荐答案

因为我觉得这个问题很严重.我相信这个答案可能会有所帮助.

As I felt a serious issue on this. I believe this answer might be helpful.

在尝试了大约 10 到 12 个小时来解决这个问题之后,由于我的项目和编码的其他一切都足够好,这让我很头疼.但是在得到了一些 stack-overflow 专家用户的宝贵意见并在互联网上进行了更多搜索之后,我找到了一些高质量的答案.

After trying for around 10 to 12 hours to fix this issue and as everything else regarding my project and coding was fine enough, it became a headache for me. But after getting some valuable comments from some of the expert users of stack-overflow and after doing some more search on the internet, I have found some quality answers.

这个答案对我帮助最大:

This answer helped me the most:

应用程序loader 卡在使用 iTunes Store 进行身份验证"阶段

如果您打算通过 Application Loader 上传它并且它卡在使用 iTunes Store 进行身份验证..."

您将通过 XCode 上传它,但它卡在您的应用程序正在上传"

然后保持冷静并检查第一种方法:

  • 检查您的防火墙保护是否关闭.如果没有,请将其关闭.它可能会阻止您将计算机与 iTunes 连接存储.

  • Check if your firewall protection is off. If not then turn it off. It maybe blocking you to connect your computer with iTunes Store.

尝试不同的互联网连接.尝试不同的互联网连接的目的是您当前的互联网连接可能会阻止连接到 Apple 服务器所需的端口.

Try a different internet connection. The purpose for trying a different internet connection is that your current internet connection maybe blocking a required port for connection to Apple servers.

如果以上步骤对您没有帮助,请按照第二种方法:

Xcode 需要 Java 运行时才能将您的应用上传到 App Store.

Xcode needs java runtime for uploading your apps to the App Store.

在终端输入'java -version',java版本应该是1.6,如果不是就下载仅来自苹果下载中心的最新兼容 java:

enter 'java -version' in the terminal, java version should be 1.6 .If not then download latest compatible java only from apple download center:

http://support.apple.com/kb/DL1572?viewlocale=en_US

如果这仍然没有帮助,请按照第三种方法:

此方法使应用程序加载器能够使用 HTTP 端口而不是 HTTPS.

This method enables the application loader to use the HTTP port instead of HTTPS.

  • 前往应用程序加载器 java 文件夹:/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/java/lib

使用任何文本编辑器应用程序打开 net.properties 文件,例如 text matesublime text

Open net.properties file using any text editor application like text mate or sublime text

更改此特定行:#https.proxyPort=443 代理端口为https.proxyPort=80

Change this particular line : #https.proxyPort=443 proxy port to https.proxyPort=80

保存文件.就是这样!!您可以轻松地将二进制文件上传到 App立即存储.

Save the file. And that's it !! You can easily upload your binary file to App store now.

如果上述方法仍然没有帮助,那么请按照第四种方法:重新生成您的证书

撤销您的应用用于签名的当前证书.

Revoke current certificate which is used by your App for signing.

删除当前的iOS 分发配置文件";来自开发者门户网站.

Remove current "iOS distribution provision profile" from Developer portal.

重新生成 iOS 分发证书并将其添加到开发者门户中.

Regenerate the iOS distribution certificate and add them in developer portal.

重新生成iOS 分发配置文件";应用商店分发并下载到 mac.

Regenerate "iOS distribution provision profile" for app store distribution and download to mac.

安装它.

再次尝试使用 xcode/应用程序加载器上传构建.

Try again using xcode/application loader to upload the build.

这篇关于Xcode 卡在“您的应用程序正在上传"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆