繁体   English   中英

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

[英]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

我正在将我的 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"
      }
    }

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

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

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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