Authenticating with the iTunes store” 或 “正在通过 iTunes Store进行鉴定”的完美解决办法

原文地址:https://www.jianshu.com/p/696f4f4be0c0

 

问题描述

Xcode 提交 app 到 iTunes store 时总是卡死在 “Authenticating with the iTunes store”。改DNS、用VPN都不行,全局、自动代理模式全都试过了。

网上找解决办法,有很多人推荐使用“Application Loader”上传:
但是使用 Application Loader 提交时又卡死在 “正在通过 iTunes Store进行鉴定”

好吧,彻底无语!!!

解决办法(考虑使用ssh -ND 科学上网)

不管怎么样 app 总得上传吧!继续上网寻求办法,终于皇天不负苦心人,在 苹果开发者论坛 里让我给淘着了。这个办法非常perfect...???

这是一个叫Kumobiuslvan的大神提供的方法,大神请收下膝盖???

好了简单介绍下这个方法。
打开终端并运行以下命令:

$ cd ~    #进入用户根目录
$ mv .itmstransporter/ .old_itmstransporter/    #将名为itmstransporter的隐藏文件重命名为old_itmstransporter
$ /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter     #运行Application Loader.app包里的iTMSTransporter程序

当3条命令都执行完成后再用,XcodeApplication Loader上传。

补充

注意当第三条命令里的所有请求都返回 ... updated bundle successfully retrieved. 才算成功,效果如下:

leodeMBP:~ leo$ cd ~
leodeMBP:~ leo$ mv .itmstransporter/ .old_itmstransporter/
leodeMBP:~ leo$ /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter 
[2017-06-20 00:37:16 CST] <main>  INFO: Transporter is searching for updated software components.
[2017-06-20 00:38:03 CST] <main> DEBUG: Analyzing remote bundle resource com.apple.transporter.asperasupport...
[2017-06-20 00:38:23 CST] <main> DEBUG:   ... updated bundle successfully retrieved.
......
......
......
[2017-06-20 00:40:25 CST] <main> DEBUG: Analyzing remote bundle resource slf4j.log4j12...
[2017-06-20 00:40:25 CST] <main> DEBUG:   ... updated bundle successfully retrieved.
[2017-06-20 00:40:25 CST] <main>  INFO: Transporter has been successfully updated. The updated components will be available the next time Transporter runs.
......
......
......
leodeMBP:~ leo$ 

如果有些请求返回 Unable to download a software component... update attempt failed, aborting.这种错误。你可以检查下是否有开启VPN,如果有开启先关闭VPN再试下。

lipengdeMBP:~ lipeng$ cd ~
lipengdeMBP:~ lipeng$ mv .itmstransporter/ .old_itmstransporter/
lipengdeMBP:~ lipeng$ /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter 
[2017-06-20 00:27:02 CST] <main>  INFO: Transporter is searching for updated software components.
[2017-06-20 00:27:13 CST] <main> DEBUG:   ... updated bundle successfully retrieved.
[2017-06-20 00:28:16 CST] <main> DEBUG: Analyzing remote bundle resource com.apple.its.epubcheck-runner...
[2017-06-20 00:30:05 CST] <main>  INFO: Unable to download a software component
......
......
......
[2017-06-20 00:30:05 CST] <main> DEBUG:  ... update attempt failed, attempting retry.
[2017-06-20 00:30:05 CST] <main>  INFO: Unable to download a software component
......
......
......
[2017-06-20 00:30:05 CST] <main> DEBUG:  ... update attempt failed, aborting.
[2017-06-20 00:30:05 CST] <main>  INFO: One or more software components could not be updated. This may cause reduced functionality. Please download and use the latest Transporter installer from iTunes Connect.
......
......
......
leodeMBP:~ leo$

 

 



作者:Leo_lp
链接:https://www.jianshu.com/p/696f4f4be0c0
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值