iOS应用无法上传App Store总结

iOS应用的发布一直问题很多,首先得上传App Store,上传成功审核又得一段时间。现在的审核效率有所提高,一到两天基本能审核通过。最近Xcode10上传App Store不成功,更新到Xcode11还是不行,最后查了一些资料,最后发现是Xcode自带上传组件更换导致上传失败,解决之后记录一下。

======================== 问题 =========================

App Store Connect Operation Error

错误1:A downloaded software component is corrupted and will not be used.https://contentdelivery.itunes.apple.com/transporter/repositories/j2se8/2.0.0/bundles/com.apple.its.epubcheck-runner-4.3.0.jar

错误2:Unable to download a software component: com.apple.its.epubcheck-runner/4.3.0

App Store Connect Operation Error

unsatisfied requirement: com.apple.transporter.mediatoolkit

App Store Connect Operation Error

(&(package=com.apple.its.epubcheck)(version>=4.3.0)(!(version>=5.0.0)))

App Store Connect Operation Error

unsatisfied requirement: com.apple.transporter.aspera-linux-x64

App Store Connect Operation Error

(&(osgi.native.osname~=Linux)(osgi.native.processor~=x86-64))

App Store Connect Operation Error

could not find the service with interface(com.apple.transporter.osgi.TransporterService)

====================== 解决方法 ======================

1.Xcode10及以前的版本

Xcode自带工具上传工具Application Loader,在路径:

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

下双击iTMSTransporter文件,默认会在终端执行更新操作,等待更新完成,重启Xcode,就可以上传了。

补充:

在终端直接输入一下命令更新(在解决问题的过程中看到别人的方法,没有实践)

cd ~

mv .itmstransporter/ .old_itmstransporter/

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


2.Xcode11及以后的版本

Xcode11自带工具中已经没有了Application Loader,建议在App Store下载上传工具Transporter,并且在路径:

Applications/Transporter.app/Contents/itms/bin/iTMSTransporter 

下执行更新操作。

总之,问题的核心是iTMSTransporter版本问题。

====================== 题外话 =======================

这里顺便说一下,有时候上传成功了,并且iTunesConnect已经显示提交成功,但是构建版本没任何反应,需要检查权限是否添加完整。

你可能感兴趣的:(iOS应用无法上传App Store总结)