问:使用Application Loader上传ipa文件有什么好的经验?

问:使用Application Loader上传ipa文件有什么好的经验?

答:由于iTunes Store的服务器在国外,所以,使用Application Loader上传ipa文件时,经常会遇到网络中断,或者测试TCP/UDP连接等错误。我曾经捣鼓了1个小时,无功而返。可是,正常情况下,上传提交一个大小是17.8M的文件,从开始到成功(看到如下字样“已将软件包上传到iTunes Store”,和一个可爱的绿色圆圈!)大概是15分钟时间。


上传软件包到iTunes Store的过程中,如果进度条长时间显示的都是“斑马线”,那么请直接停掉,退出Application Loader,重新打开,重新上传软件包。如果你一直看到的是“实心进度条”,那么恭喜你,你的电脑和服务器之间的网络比较畅通,可能30分钟内可以完成上传这个过程!


我曾经上网搜索过如何改善网络状况的方法。很多方法未必有多么灵验,我自己没有花太多时间去验证其是否有效果。因为验证需要做对比,而一般情况下,我一旦上传完ipa,短期内也不会再继续上传第二个ipa文件了。


根据我搜索的经验,觉得有一个方法值得收录。详细的网址如下:

http://stackoverflow.com/questions/8395000/application-loader-apple-stuck-on-sending-api-usage-to-itunes-connect

原文摘录如下:

Application Loader (Apple) stuck on “Sending API usage to iTunes Connect”

I am submitting an iOS app to the App Store using Application Loader, however, it never gets past the "Sending API usage to iTunes Connect" stage. There is no error - this stage just doesn't complete.

I have verified that the Mac is connecting to the internet (I can visit websites). Also, the app is tiny (6MB) so this can't conceivably just be a long upload. I've tried leaving this for 20 minutes.

The background to this is that I developed in Flash CS5 on a Windows PC, built it for distribution there, and now on the Mac I am loading the final file into Application Loader to submit it. It verifies/validates the file just fine, but won't go beyond this point.

Any ideas anyone? Perhaps it's a network issue?

下面是一个推荐答案:

I had this problem when behind a firewall. I got around it by going to Xcode > Contents > Applications > Application Loader > Contents > MacOS > itms > java > lib - Open net.properties with TextEdit and 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.

希望有某位同行可以验证一下这个方法是否有效!;-)

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值