xcode11 Authenticating with the app store

xcode10的时候上传包都是使用xcode或者Application Loader的。

升级到xcode11.3之后,使用xcode上传包出现了卡在authentication with the app store的问题。

xcode11 Authenticating with the app store_第1张图片
一直卡在authentication with the app store

尝试过官方推荐的atool,和transporter,都没用,还是一直卡着。


atool卡着
transporter卡着

查阅资料发现,无论是使用Application Loader,atool,transporter还是最新的xcode都是使用java的iTMSTransporter来完成上传api包的工作。

一般出现authentication with the app store的问题是由于你的iTMSTransporter缓存被破坏了,或者根本不存在,直接调用iTMSTransporter与功能参数,如-upload-app,iTMSTransporter不警告你,也不修复缓存本身,它只是卡在那里,什么都不说!所以解决方案就是清除iTMSTransporter缓存。但xcode10和xcode11缓存目录是不一样的。

针对xcode10的解决方案如下:

cd ~ 

mv .itmstransporter/ .old_itmstransporter/    

对旧缓存做个备份

"/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"

针对xcode11的解决方案如下:

/Users/用户名/Library/Caches/com.apple.amp.itmstransporter/

删除这个缓存文件夹,重启xcode upload,xcode会在authentication with the app store 重新去生成com.apple.amp.itmstransporter并下载相关文件。

搞定。

你可能感兴趣的:(xcode11 Authenticating with the app store)