What's the difference between “version number” in iTunes Connect, “bundle version”, “bundle version string” in Xcode?

后端 未结 6 931
囚心锁ツ
囚心锁ツ 2020-12-07 08:34

Apple\'s doc could have been more clear on how to submit an update version.

As asked in the title, What\'s the difference between

  1. version number in itu
6条回答
  •  攒了一身酷
    2020-12-07 08:53

    The accepted answer of this link contains good details :: Which iOS app version/build number(s) MUST be incremented upon App Store release?

    From apple docs

    CFBundleVersion ( Bundle version )

    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.

    CFBundleShortVersionString (Bundle versions string, short)

    CFBundleShortVersionString (String - iOS, OS X) specifies the release version number of the bundle, which identifies a released iteration of the app. 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.

    The value for this key differs from the value for CFBundleVersion, which identifies an iteration (released or unreleased) of the app. This key can be localized by including it in your InfoPlist.strings files.

提交回复
热议问题