OGeek|极客世界-中国程序员成长平台

标题: iOS App Upload 收到 CFBundleShortVersionString 错误消息 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 12:19
标题: iOS App Upload 收到 CFBundleShortVersionString 错误消息

所以我正在尝试将我的应用上传到应用商店,但我收到了此错误消息。

错误 ITMS-90060:“此 bundle 无效。Info.plist 文件中键 CFBundleShortVersionString 'HEAD based on 1.0' 的值必须是最多三个非负整数的句点分隔列表。”

如果我打开它给我的日志,你可以清楚地看到版本短字符串是正确的。

<software_assets apple_id="456805313"
        bundle_short_version_string="27.1.1"
        bundle_version="3221"
        ....
</software_assets>

我错过了什么?!?



Best Answer-推荐答案


我在我的项目中使用了 pod,在 pod SVWebViewController CFBundleShortVersioninfo.plist 中不是标准方式。
您需要在 info.plist 文件中找到非标准的 CFBundleShortVersionString。我搜索了所有这些并在其中一个仓库中找到了这个

之前

Bundle versions string, short => Head is 0.1.2

之后

Bundle versions string, short => 0.1.2

更正CFBundleShortVersion后一切正常。

关于iOS App Upload 收到 CFBundleShortVersionString 错误消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34097963/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4