問題描述
XCode4 Organizer ‑ 由於 CFBundleVersion 錯誤,應用程序驗證失敗 (XCode4 Organizer ‑ App fails validation due to CFBundleVersion error)
When submitting a new version of our app to the Apple app store, I am receiving the dreaded "This bundle is invalid. The key CFBundleVersion in the Info.plist file must contain a higher version than that of the previously uploaded version."
I'm puzzled by this, since I've updated this app many (>6) times previously. The current version app details from iTunes Connect shows that the bundle version previously uploaded is "5780".
The new version has a bundle version of 6001, however, this results in the aforementioned validation error.
I have tried various permutations of the bundle string (5781, 10000, 1.6.1, etc.) all to no avail. This is on Xcode 4.3.2 running on Lion 10.7.3 Again, this far from the first update and the same process has worked previously ‑ the only difference that I am aware of is that the previous update was done with Xcode 4.3.1.
Thanks in advance for any suggestions or pointers!
‑‑‑‑‑
參考解法
方法 1:
Try to increase not only build number ‑ CFBundleVersion (5780‑>5781) but also marketing version ‑ CFBundleShortVersionString (1.6.0 ‑> 1.6.1)
方法 2:
Just encountered this error when trying to update an app from 1.09 to 1.5. The solution for us appeared to be changing 1.5 to 1.50, but that wouldn't have helped with your numbering scheme. Perhaps it was an issue of needing to wait, and that number worked simply because more time had elapsed. The app then validated and submitted without issue.
(by ChiefPilot、igoris、John)