美文网首页iOS
Application Loader上传失败

Application Loader上传失败

作者: Qiu_W | 来源:发表于2018-09-11 16:41 被阅读1次

刚到手的电脑,新装的xcode9.2,通过Application Loader上传ipa包时总是不成功

一、错误信息:

就在今天,重新尝试传包的时候报了以下错误(错误信息太多,截取了一部分):

Code Signing Error: Signing for "test" requires a development team. Select a development team in the project editor.

Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'

An error occurred while starting bundles for the software update process.  Transporter will try to continue.  Could not resolve module: org.springframework.spring-core [1]

 Unresolved requirement: Import-Package: joptsimple; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.commons.codec.binary; version="[1.10.0,2.0.0)"

An error occurred while starting bundles for the software update process.  Transporter will try to continue.  Could not resolve module: com.apple.transporter.itmstransporter [4]

 Unresolved requirement: Import-Package: com.apple.itunes.epubtoolkit; version="[1.0.9.1,1.0.9.1]"

An error occurred while trying to start the updater service. Exception's name: java.lang.NullPointerException, Exception's message: serviceReferences parameter cannot be null

An error occurred while trying to start transporter. Exception's name: java.lang.NullPointerException, Exception's message: serviceReferences parameter cannot be null

二、错误分析

1、同样的包,在别的电脑上是可以上传成功的,所以确定不是包的问题

2、网络正常,没开代理,所以排除网络、vpn的问题

3、从以上信息也可以分析出应该是Application Loader本身的问题

         网上搜了相关资料,分析出应该是iTMSTransporter(上传包的一个底层程序,不论Organizer还是App Loader上传包,最后都是调用的iTMSTransporter    进行上传的)。

三、错误解决(你可以对比执行以下命令前后,~/.itmstransporter/下文件内容的差别)

step1、rm -rf ~/.itmstransporter/

step2、执行一下程序:(iTMSTransporter在你本地电脑xcode.app/contents下)                

             /Applications/Xcode.app/Contents/Applications/ApplicationLoader.app/Contents/itms/bin/iTMSTransporter

step3、运行成功后,重新上传包

四、备注

itmstransporter有问题,不一定只报上面类似的错误信息。也有可能错误日志里任何信息都没有,只是告诉你上包不成功

对上包ipa包的实现逻辑和原理不了解,所以对于itmstransporter和这些错误的联系,也是一知半解,有知道的同学可以一起讨论

五、相关链接

https://stackoverflow.com/questions/22443425/application-loader-stuck-at-authenticating-with-the-itunes-store-when-uploadin

https://forums.developer.apple.com/thread/96796

https://www.jianshu.com/p/6ac9c1a029e4

   

相关文章

网友评论

    本文标题:Application Loader上传失败

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