Info.plist 文件中键 CFBundleShortVersionString [3.0.0] 的值必须包含比之前批准的版本更高的版本

Aks*_*eth 6 app-store ios

我正在将 IPA 文件上传到应用商店,但它抛出以下错误:

错误 ITMS-90062:“此捆绑包无效。Info.plist 文件中的键 CFBundleShortVersionString [3.0.0] 的值必须包含比先前批准的版本 [3.0.1] 更高的版本。”

以下是我的 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"
      }
    }
Run Code Online (Sandbox Code Playgroud)

Moh*_*faq 7

如果应用程序版本[3.0.3]已获得批准,则您已增加版本号[3.0.4]。如果增加内部版本号,您将得到相同的错误


Aks*_*eth 2

看起来应用程序商店正在从我的 package.json 文件中获取版本,该文件有一个版本密钥。我将其更新到 4.0.0 并且它工作成功。我猜是 expo cli 存在一些问题。