gpt4 book ai didi

ios - 我可以重置 CFBundleShortVersionString

转载 作者:行者123 更新时间:2023-11-29 05:58:56 25 4
gpt4 key购买 nike

我开始为每个新构建的 CFBundleShortVersionString 使用增量编号(例如 1->2->3->4),现在我的版本为 24.0。我可以将其重置回使用不同的版本控制系统(例如 1.0.24)吗?

最佳答案

Apple提供文档Technical Note TN2420 - Version Numbers and Build Numbers .

该部分Version number and build number checklist声明如下:

Here are some things you can check when submitting a new build to the App Store. Making sure you have your version number and build number set properly will help you by avoiding having your app automatically rejected for having them improperly configured.

  1. For each new version of your app, you need to invent a new version number. This number should be a greater value than the last Version Number that you used. Though you may provide many builds for any particular release of your App, you only need to use one new Version Number for each new release of your App.

  2. You cannot re-use version numbers.

  3. For every new build you submit, you will need to invent a new build number whose value is greater than the last build number you used (for that same version). For iOS apps, you may re-use build numbers when submitting different versions. For macOS apps, you must chose a new build number for every submission that is unique and has never been used before in any submission you have provided to the App Store (including build numbers used in previous versions of your app).

  4. For iOS apps you can re-use build numbers in different release trains, but you cannot re-use build numbers within the same release train. For macOS apps, you cannot re-use build numbers in any release train.

第一段对于您的问题来说是最重要的。

For each new version of your app, you need to invent a new version number. This number should be a greater value than the last Version Number that you used.

这里最有趣的是“应该”这个词的使用。这意味着虽然您应该增大版本号,但其实不必这样做。当我读到这篇文章时,您应该能够从版本 24.0 升级到 1.0.24。但第二段很重要。如果您已经使用过 2.0,那么您永远无法从新的 1.0.x 转到 2.0。

关于ios - 我可以重置 CFBundleShortVersionString,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54869775/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com