ios 在Info.plist文件中,关键字CFBundleShortVersionString [3.0.0]的值必须包含比先前批准的版本更高的版本

mznpcxlj  于 2023-04-01  发布在  iOS
关注(0)|答案(5)|浏览(223)

我正在上传我的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"
      }
    }
8xiog9wr

8xiog9wr1#

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

vwhgwdsa

vwhgwdsa2#

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

whlutmcx

whlutmcx3#

看起来app store从我的package.json文件中提取了版本,该文件有一个版本密钥。我将其更新到4.0.0,它成功工作。我猜是expo cli的一些问题。

rks48beu

rks48beu4#

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

6bc51xsx

6bc51xsx5#

这是因为批准的应用程序构建比您尝试推送的更高。
1.转到appStoreConnect
1.检查已批准的内部版本(例如34)
1.在项目配置中设置相同的版本+1(35)
1.清理XCode Build Caches并做全新的存档:)

相关问题