---------------------------------一、Application Loader上傳失敗-----------------------------
剛到手的電腦青伤,新裝的xcode9.2灭红,通過Application Loader上傳ipa包時(shí)總是不成功
一、錯(cuò)誤信息:
就在今天篙贸,重新嘗試傳包的時(shí)候報(bào)了以下錯(cuò)誤(錯(cuò)誤信息太多枫疆,截取了一部分):
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
二息楔、錯(cuò)誤分析
1、同樣的包圃泡,在別的電腦上是可以上傳成功的愿险,所以確定不是包的問題
2、網(wǎng)絡(luò)正常辆亏,沒開代理,所以排除網(wǎng)絡(luò)唁情、vpn的問題
3甫匹、從以上信息也可以分析出應(yīng)該是Application Loader本身的問題
? ? ? ? ?網(wǎng)上搜了相關(guān)資料惦费,分析出應(yīng)該是iTMSTransporter(上傳包的一個(gè)底層程序薪贫,不論Organizer還是App Loader上傳包刻恭,最后都是調(diào)用的iTMSTransporter ? ?進(jìn)行上傳的)。
三鳍贾、錯(cuò)誤解決(你可以對(duì)比執(zhí)行以下命令前后,~/.itmstransporter/下文件內(nèi)容的差別)
step1橡淑、rm -rf ~/.itmstransporter/
step2咆爽、執(zhí)行一下程序:(iTMSTransporter在你本地電腦xcode.app/contents下) ? ? ? ? ? ? ? ?
? ? ? ? ? ? ?/Applications/Xcode.app/Contents/Applications/ApplicationLoader.app/Contents/itms/bin/iTMSTransporter
step3、運(yùn)行成功后符糊,重新上傳包
四呛凶、備注
itmstransporter有問題,不一定只報(bào)上面類似的錯(cuò)誤信息漾稀。也有可能錯(cuò)誤日志里任何信息都沒有,只是告訴你上包不成功
對(duì)上包ipa包的實(shí)現(xiàn)邏輯和原理不了解围橡,所以對(duì)于itmstransporter和這些錯(cuò)誤的聯(lián)系缕贡,也是一知半解,有知道的同學(xué)可以一起討論
五收擦、相關(guān)鏈接
https://stackoverflow.com/questions/22443425/application-loader-stuck-at-authenticating-with-the-itunes-store-when-uploadin
https://forums.developer.apple.com/thread/96796
http://www.reibang.com/p/6ac9c1a029e4
---------------------------------二谍倦、Transporter上傳失敗-----------------------------
一、錯(cuò)誤信息:
(&(osgi.native.osname~=Linux)(osgi.native.processor~=x86-64))
(&(package=com.apple.its.epubcheck)(version>=4.3.0)(!(version>=5.0.0)))
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
could not find the service with interface (com.apple.transporter.osgi.TransporterService)
unsatisfied requirement: com.apple.transporter.aspera-linux-x64
unsatisfied requirement: com.apple.transporter.mediatoolkit
二宴猾、錯(cuò)誤分析
jar包加載失敗或Transporter版本過老
三、錯(cuò)誤解決
step1仇哆、執(zhí)行以下命令:/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter
step2、重啟Transporter和Xcode
step3油讯、重新上傳