前言:

每次打包报错都记不住原因,都要百度一番,这次长记性,记下来以后在发生就知道怎么解决了(后续碰到报错会继续更新)。

ERROR ITMS-90189报错

ERROR ITMS-90189: “Redundant Binary Upload. You’ve already uploaded a build with build number ‘202007291104’ for version number ‘2.0’. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4).”

提交的时候报的错。提示你这个 Bulid版本已经提交过了。
在General中把Bulid 参数或者Version参数修改增加即可。

image.png
ERROR ITMS-90171报错

ERROR ITMS-90171: “Invalid Bundle Structure – The binary file ‘一XXX.app/XXX.bundle/XXXBundle’ is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.”
在制作Bundle的时候,编译出来的Bundle里面带有一个可执行文件,如下图:

image.png

删掉此文件即可,或者在制作Bundle文件的项目里buildSetting->Versioning Systems修改为none重新生成Bundle文件。

image.png
其他报错

The filename 未命名.ipa in the package contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore
解决方法:
在Archive之后得到的包不能是中文名,随便改个英文名就可以了。
添加到iTunes后生成的ipa包自然也是英文名的了,再传到AppStore就没问题了。

文章来源于互联网,如有雷同请联系站长删除:[iOS]打包上传App Store报错记录

发表评论