React Native Expo构建在“Run fastlane”上失败,生产中的iOS出现未知错误

utugiqy6  于 2023-06-30  发布在  React
关注(0)|答案(1)|浏览(132)

我在试着为试飞做我的展览应用程序。预建工程罚款和建设的发展工程罚款以及。当我试着去做

npx eas build --profile production --platform ios

生成失败,并出现未知错误。
Running Expo 46+

{
  "cli": {
    "version": ">= 3.14.0"
  },
  "build": {
    "development-simulator": {
      "extends": "development",
      "ios": {
        "simulator": true
      }
    },
    "development": {
      "distribution": "internal",
      "developmentClient": true
    },
    "preview": {
      "distribution": "internal",
      "ios": {
        "simulator": true
      }
    },
    "production": {}
  },
  "submit": {
    "production": {}
  }
}

我希望此构建能够像开发构建一样成功

cs7cruho

cs7cruho1#

好吧我想明白了原来错误是
错误:exportArchive:“iCloudContainerEnvironment”项的exportOptionsPlist错误:不允许值“开发”
我需要改变

"plugins": [
      [
        "expo-document-picker",
        {
          "iCloudContainerEnvironment": "Development"
        }
      ]
    ]

从开发到生产。

相关问题