美文网首页
xcode11 卡在authenticating with th

xcode11 卡在authenticating with th

作者: 正向反馈 | 来源:发表于2020-02-05 11:57 被阅读0次

    xcode11升级后,Application Loader被移除,
    现在推荐使用xcrun altool命令行工具或者是从App Store上下载
    Transporter进入上传包。

    但都可能遇到

    authenticating with the app store

    的问题。
    这个问题的原因:
    不管是xcode还是xcrun altool,还是TransporterGUI工具,
    都是使用的iTMSTransporter这个java命令行工具进行提交的。
    iTMSTransporter每次使用都会检查更新。
    所以遇到authenticating with the app store这个问题,可以检查
    是不是iTMSTransporter在更新。

    iTMSTransporter有个体验上的问题,之前更新中断或者失败,就会卡住,什么提示都没有。
    网上的解决方法,就是把更新目录去掉,重新运行iTMSTransporter:

    mv ~
    mv .itmstransporter .old_itmstransporter
    path/to/iTMSTransporter
    

    但这个方法,随着xcode的升级好像无效了。
    因为缓存路径变了, 现在的缓存路径是

    ~/Library/com.apple.amp.itmstransporter
    可以把这个目录移除或者重命名。
    同时,监测这个目录的大小
    du -d 1 -h ~/Library/com.apple.amp.itmstransporter
    可以大概知道更新的进度。

    猜测:如果有些包没下载下来,也可以手动下载,然后放到这个目录下的相应目录,这一点还没有验证。

    更新完成后,就可以正常提交了。
    祝好运

    相关文章

      网友评论

          本文标题:xcode11 卡在authenticating with th

          本文链接:https://www.haomeiwen.com/subject/exzjxhtx.html