我解决了,找到了stackoverflow的回答,进行了尝试。
首先终端执行两条指令
1 cd mv .itmstransporter/ .old_itmstransporter/
2 /Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter
执行第2条指令的时候报错
[2020-03-05 11:07:05 CST] <main> ERROR: unsatisfied requirement: com.apple.transporter.aspera-linux-x64
[2020-03-05 11:07:05 CST] <main> ERROR: (&(osgi.native.osname~=Linux)(osgi.native.processor~=x86-64))
[2020-03-05 11:07:05 CST] <main> ERROR: unsatisfied requirement: com.apple.transporter.mediatoolkit
[2020-03-05 11:07:05 CST] <main> ERROR: (&(package=com.apple.its.epubcheck)(version>=4.3.0)(!(version>=5.0.0)))
[2020-03-05 11:07:05 CST] <main> ERROR: could not find the service with interface (com.apple.transporter.osgi.TransporterService)
怀疑跟“科学上网”有关,最近在用的“科学上网”不稳定,基本连不了。早上刚好能连上,果断连上试试,再执行第2条指令,果然执行成功。
然后再去上传ipa,还是连着“科学上网”,马上就传好了。
所以,现在不确定是不是这两条指令生效。可以先科学上网去上传ipa试试,不行再执行这两条指令。
资料:
https://stackoverflow.com/questions/46463778/xcode-9-an-error-occurred-uploading-to-the-itunes-store/46463779#46463779
https://stackoverflow.com/questions/54080635/while-publish-via-xcode-a-downloaded-software-component-is-corrupted-and-will-n
https://stackoverflow.com/questions/46463778/xcode-9-an-error-occurred-uploading-to-the-itunes-store/46463779#46463779
princechen (作者)
还没,不清楚是什么问题。论坛以前也有人提相同的问题,但没有回复
2020-03-03 18:25