昨天打包上传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/