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
來源:簡書
簡書著作權歸作者所有,任何形式的轉載都請聯繫作者獲得授權並註明出處。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章