[iOS]打包上传App Store报错记录

前言:

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

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就没问题了。

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容