美文网首页
iOS Xcode 打包好上传App Store时卡在Authe

iOS Xcode 打包好上传App Store时卡在Authe

作者: Onlyoner | 来源:发表于2020-08-29 11:01 被阅读0次

    昨天下午6点多就打好包了,然后像往常一样上传App Store,结果一直卡在Authenticating with the App Store… 我想应该是Apple服务器慢,先干会别的,后来一个多小时过去了进度还是一点点,科学上网一下吧,结果没什么实际效果,卡的死死的。


    Xcode

    同时使用Transpoter


    Transpoter

    后来发现

    1.xcode11中不再集成Application Loader.app了,
    2.大概率是更新Xcode11过程中transporter因为某种原因损坏
    (因为这周提示我关闭xcode,更新过),造成Authenticating with the App Store...
    

    网上查了一下遇到这个问题的还不少,总结了
    解决办法(亲试好使):

    step1: 打开终端输入

    open ~/Library/Caches/com.apple.amp.itmstransporter/
    

    step2: 删除文件夹内的所有文件
    step3: 在终端输入
    去Apple服务器下载这个完整的iTMSTransporter ,大约97M

    /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter
    

    查看下载进度

    $ cd ~/Library/Caches/com.apple.amp.itmstransporter
    $ du -sh
    

    step3的这个命令会重新去Apple服务器下载这个完整的iTMSTransporter以保证正常上传App Store


    下载成功

    step4: 下载完了后重启Xcode

    然后重新上传,不用重新打包。不到十分钟:


    success

    相关文章

      网友评论

          本文标题:iOS Xcode 打包好上传App Store时卡在Authe

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