iOS 应用程序版本控制

发布于 2024-12-28 17:26:23 字数 143 浏览 0 评论 0原文

之间有什么区别

在 iOS 中,捆绑版本字符串、短版本和捆绑版本

?构建新版本时以及何时更新哪些内容?

在此处输入图像描述

In iOS, what's the difference between:

Bundle versions string, short AND Bundle version?

What to update when building a new release and when ?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

与他有关 2025-01-04 17:26:23

捆绑版本是应用程序的内部版本号。

短版本字符串是您的应用程序的公开可见版本。

例如,如果您每次为 beta 测试人员(或其他)进行内部构建时都会迭代版本号,那么您的捆绑版本可能是 2.0.0.12345b7,但您不希望公众看到它,所以您将短版本字符串设置为 2.0。

短版本字符串似乎是可选的,因此如果将其留空,那么人们将看到捆绑版本(即,这将在 App Store 上显示)。

如果您没有短版本字符串,则相同的规则适用于您的捆绑包 ID(基本上公共应用程序版本有此限制,而私有应用程序版本则没有)。

这里有更详细的答案:

有什么区别itunes connect 中的“版本号”、xcode 中的“捆绑版本”、“捆绑版本字符串”之间?

Bundle version is the internal version number of your app.

Short version string is the publically visible version of your app.

So for example, if you iterate your version number every time you do an internal build for your beta testers (or whatever), your bundle version might be 2.0.0.12345b7, but you don't want the public to see that, so you set your short version string to 2.0.

Short version string seems to be optional, so if you leave it blank then the bundle version is what people will see (i.e. that's what will be displayed on the App Store).

If you don't have a short version string, then the same rules apply to your bundle ID (basically the public app version has this restriction and the private app version doesn't).

There's a more detailed answer here:

What's the difference between "version number" in itunes connect, "bundle version", "bundle version string" in xcode?

http://developer.apple.com/ Library/mac/#documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html

来自文档..

Bundle version 是 info .plist 中必须存在的版本,也是您应该更新每个新版本的版本..捆绑版本字符串,短不是必须的,但尽管我不理解它的用途,但还是给出了。

http://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html

From docs..

Bundle version is the one that must be in the info .plist and that's the one you should update every new version..Bundle versions string, short is not must but is given although i didn't understood its use..

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文