解决iOS上传ipa失败(-22421)问题
Bingo 2017-09-03 08:58:37
i
O
S
# 前言
众所周知,想要上传 ipa 包,除了看网速,还得看运气。曾经我就苦苦挣扎过一整天,换了 WIFI、翻墙、手机开热点,都传不上去。也就是说,网络其实不是唯一决定要素,还有其它问题。我遇到了-22421的报错并找到了解决方案。
# 解决
终端执行三条命令完美解决。 Try this, it fixed it for me. Open Terminal and run:
$ cd ~
$ mv .itmstransporter/ .old_itmstransporter/
$ "/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter"
1
2
3
2
3
iTMSTransporter 会自动更新,一定要等第三条命令执行完毕才可以再次上传。 iTMSTransporter will then update itself, then you can try uploading in XCode again.