最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【整理】关于版本号version number和build number

工作和技术 crifan 2892浏览 0评论

iOS 中的要求是:

三位数字:x.x.x

主版本号:主要更新,新功能

次版本号:次要更新,次功能

维护发布版本号:

Configuring Your Xcode Project for Distribution

“The version number is a two-period-separated list of positive integers, as in 4.5.2. The first integer represents a major revision, the second a minor revision, and the third a maintenance release. ”

Core Foundation Keys

“CFBundleShortVersionString

The release version number is a string comprised of three period-separated integers. The first integer represents major revisions to the app, such as revisions that implement new features or major changes. The second integer denotes revisions that implement less prominent features. The third integer represents maintenance releases.

CFBundleVersion

CFBundleVersion (String – iOS, OS X) specifies the build version number of the bundle, which identifies an iteration (released or unreleased) of the bundle. The build version number should be a string comprised of three non-negative, period-separated integers with the first integer being greater than zero. The string should only contain numeric (0-9) and period (.) characters. Leading zeros are truncated from each integer and will be ignored (that is, 1.02.3 is equivalent to 1.2.3). This key is not localizable.

Configuring Your Xcode Project for Distribution

“The build string represents an iteration (released or unreleased) of the bundle and is also a two-period-separated list of positive integers, as in 1.2.3.”

转载请注明:在路上 » 【整理】关于版本号version number和build number

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
87 queries in 0.173 seconds, using 22.07MB memory