【问题标题】:iOS App Upload is getting CFBundleShortVersionString error messageiOS App Upload 收到 CFBundleShortVersionString 错误消息
【发布时间】:2015-12-04 21:42:57
【问题描述】:

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

错误 ITMS-90060:“此捆绑包无效。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>

我错过了什么?!?

【问题讨论】:

标签: ios app-store


【解决方案1】:

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

之前

Bundle versions string, short => Head is 0.1.2

之后

Bundle versions string, short => 0.1.2

更正CFBundleShortVersion 后一切正常。

【讨论】:

    【解决方案2】:

    检查您使用过的任何第 3 方框架。有报道称 xcode 在被拉入主项目的 3rd 方资源中包含 bundle_short_version_string 绊倒。例如:

    CFBundleVersion must be a period separated list of at most three non-negative integers (WARNING ITMS-9000)

    https://forums.developer.apple.com/thread/23581

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-12-16
    • 2023-02-07
    • 2015-12-18
    • 1970-01-01
    • 2017-12-04
    • 2011-12-27
    • 2018-01-03
    相关资源
    最近更新 更多