1. 程式人生 > >ipa包上傳itunes store失敗

ipa包上傳itunes store失敗

昨天打包上傳ipa包, 遇到了故障, 開始以為是網路問題, 但是切換了各種網路之後發現這個不是網路問題, 我推測應該是蘋果在mac上更新了什麼東西, 換用application Loader 工具上傳還是不行, 但是比Xcode直接上傳的好處是 可以看到錯誤日誌

An error occurred while starting bundles for the software update process.  Transporter will try 
to continue.  Could not resolve module: org.apache.httpcomponents.httpclient-cache [39
] Unresolved requirement: Import-Package: net.sf.ehcache; resolution:="optional" Unresolved requirement: Import-Package: net.spy.memcached; resolution:="optional" Unresolved requirement: Import-Package: org.apache.http; version="[4.4.0,5.0.0)"

用這個錯誤日誌百度,谷歌找了不少解決方案, 有人說是java包過舊, 需要更新java , 還有說字元不相容的, 反正都沒解決, 最後找到了一個簡單快捷的方法, 執行下面兩條命令分分鐘搞定問題, 希望遇到同樣問題的朋友, 不走彎路, 於是記錄一下, 哈哈
在終端中執行下面兩條命令

cd ~
mv .itmstransporter/ .old_itmstransporter/