iTunes Connect CFBundleShortVersionShort 必须包含更高版本

iTunes Connect CFBundleShortVersionShort must contain a higher version

今天 Xcode 在尝试将构建上传到 iTunes connect 时遇到问题。它给我以下错误:

非常奇怪的是我的应用程序的 CFBundleVersionShortVersionString2.0.0。我昨天上传了一个构建到 TestFlight,它工作得很好。然后我搜索了 CFBundleVersionShortVersionString,我找到了 1.0.00.5.1,但它们在 Pods 中的 info.plist 中。为什么突然出现这个错误?我知道我不应该更改 Pods 中的任何内容。有没有人遇到过这个问题,如果遇到过,你该如何解决?

似乎在 CocoaPods 中针对同一问题创建了一个问题 - https://github.com/CocoaPods/CocoaPods/issues/4421

blixt 提及...

I think it's the iTunes Connect servers entirely, and not Xcode 7.0 nor Xcode 7.1. This issue appears to have started around 10 am PDT. It is definitely a bug, and we fixed it by bumping our dependency's Info.plist CFBundleShortVersionString up to the same version as our app, and voila – iTunes Connect accepted the bundle.

这是一个恼人的修复,但似乎将单个 Info.plist 文件的短版本(您的依赖项可能具有)修复到您的应用程序版本应该让您暂时通过此错误。但这绝对不是一个长期的解决方案。