今天在使用Application Loader提交新版本的App时,遇到了ERROR ITMS-90071的错误,在此做个记录.
解决方法:来源博客
完整错误展示:
ERROR ITMS-90071: “This bundle is invalid. The CodeResources file must be a symbolic link to _CodeSignature/CodeResources. Make certain that the bundle is on a locally-mounted volume [not a remote SMB volume], and be certain to use the Mac OS X Finder to compress it.”
一切操作都在终端进行,首先cd进入.ipa包所在的文件目录,
//将ipa包解压到tmp
unzip Foobar.ipa -d tmp/
//进入你的app目录
cd tmp/Payload/*.app
//覆盖或创建符号链接
ln -fs _CodeSignature/CodeResources CodeResources
//回退到tmp
cd ../..
//重新创建应用程序.ipa
zip -yr9 *.ipa Payload/
最后把重新创建的*.ipa,利用Application Loader上传审核.