CFBundleVersion vs CFBundleShortVersionString

来源:互联网 发布:idc 人工智能研究报告 编辑:程序博客网 时间:2024/04/30 01:51

Questions:

What's the difference between

  1. version number in itunes connect(which you have to supply when you submit an update)
  2. bundle version in xcode
  3. bundle versions string, short
Answer:

  • iTunes Connect
    This is the version number shown in the App Store; This must be a pure version number like 1.2.3

  • Bundle Version (CFBundleVersion)
    The CFBundleVersion has to be a pure version number like 1.2.3 when you want to upload your application to the (iOS) App Store. This is shown in the About window for Mac OS X apps for example and is often more a "Build Number" than a "Version Number".

  • Bundle Version String (CFBundleShortVersionString) This value is used as the "real" version number. This must be the same string as used for the version in iTunes Connect.

原创粉丝点击