简体   繁体   中英

The value for key CFBundleShortVersionString [3.0.0] in the Info.plist file must contain a higher version than that of the previously approved version

I am uploading my IPA file to app store and it throw me below error:

ERROR ITMS-90062: "This bundle is invalid. The value for key CFBundleShortVersionString [3.0.0] in the Info.plist file must contain a higher version than that of the previously approved version [3.0.1]."

Below is my config for IOS:

 "ios": {
      "bundleIdentifier": "com.test.test.test",
      "buildNumber": "5",
      "icon": "./assets/images/test.png",
      "config": {
        "googleSignIn": {
          "reservedClientId": ""
        }
      },
      "infoPlist": {
        "NSLocationWhenInUseUsageDescription": "Your current location will be displayed on the map and used for directions, nearby search results, and estimated travel times.",
        "CFBundleShortVersionString":"3.0.3",
        "CFBundleIdentifier": "com.test.test.test"
      }
    }

If an app version[3.0.3] is already approved then you have increase the version number[3.0.4] . If you increase the build number you will get the same error .

您必须在 iTunesConnect 中拒绝构建并提交具有更高构建号的新构建

看起来应用商店正在从我的 package.json 文件中获取版本,它有一个版本密钥。我将它更新到 4.0.0 并且它成功运行。我猜世博 cli 有一些问题。

尝试更改 buildNumber 并使其高于 5。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM