mac osx10.7 xcode4.3.2 uploader提交时末知错误(An error occurred uploading to the iTunes store) 的解决办法


如下图1


Validate...可以通过,但Distribute...->Submit to App Store时会出现

图2


所示的错误,解决办法创建两个软链接:

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


详细原因:JDK版本的问题, 这么分析 Xcode所用的uploader对JDK的依赖,有版本依赖,这种做法不规范。

规范的做法应该类似这里所说的(瞎猜的):

http://linux-wiki.cn/wiki/zh-hans/%E5%8A%A8%E6%80%81%E5%BA%93%28.so%29  版本 Section


参考:

http://stackoverflow.com/questions/10011635/an-error-occurred-uploading-to-the-itunes-store-please-upgrade-java/10017638#comment12809592_10017638

http://stackoverflow.com/questions/10022981/an-error-occurred-uploading-to-the-itunes-store



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值