iOS 应用上传收到 CFBundleShortVersionString 错误消息
iOS App Upload is getting CFBundleShortVersionString error message
所以我正在尝试将我的应用上传到应用商店,但我收到了这条错误消息。
错误 ITMS-90060:"This bundle is invalid. The value for key CFBundleShortVersionString 'HEAD based on 1.0' in the Info.plist file must be a period-separated list of at most three non-negative integers."
如果我打开它给我的日志,你可以清楚地看到版本短字符串是正确的。
<software_assets apple_id="456805313"
bundle_short_version_string="27.1.1"
bundle_version="3221"
....
</software_assets>
我错过了什么?!?
检查您使用过的任何第 3 方框架。有报道称 xcode 绊倒了 bundle_short_version_string 包含在拉入主项目的第 3 方资源中。例如:
CFBundleVersion must be a period separated list of at most three non-negative integers (WARNING ITMS-9000)
我在我的项目中使用了pods,在pod SVWebViewController
CFBundleShortVersion
的info.plist
中不是标准方式。
您需要在 info.plist
文件中找到非标准的 CFBundleShortVersionString
。我搜索了所有这些并在其中一个 repo
中找到了这个
之前
Bundle versions string, short => Head is 0.1.2
之后
Bundle versions string, short => 0.1.2
更正后 CFBundleShortVersion
一切正常。
所以我正在尝试将我的应用上传到应用商店,但我收到了这条错误消息。
错误 ITMS-90060:"This bundle is invalid. The value for key CFBundleShortVersionString 'HEAD based on 1.0' in the Info.plist file must be a period-separated list of at most three non-negative integers."
如果我打开它给我的日志,你可以清楚地看到版本短字符串是正确的。
<software_assets apple_id="456805313"
bundle_short_version_string="27.1.1"
bundle_version="3221"
....
</software_assets>
我错过了什么?!?
检查您使用过的任何第 3 方框架。有报道称 xcode 绊倒了 bundle_short_version_string 包含在拉入主项目的第 3 方资源中。例如:
CFBundleVersion must be a period separated list of at most three non-negative integers (WARNING ITMS-9000)
我在我的项目中使用了pods,在pod SVWebViewController
CFBundleShortVersion
的info.plist
中不是标准方式。
您需要在 info.plist
文件中找到非标准的 CFBundleShortVersionString
。我搜索了所有这些并在其中一个 repo
之前
Bundle versions string, short => Head is 0.1.2
之后
Bundle versions string, short => 0.1.2
更正后 CFBundleShortVersion
一切正常。