Expo eas react-native app submit 获取 "SwiftSupport folder is missing" 错误

Expo eas react-native app submit gets "SwiftSupport folder is missing" error

我有一个 expo react 本机应用程序。当我使用

eas build --non-interactive -p all --auto-submit-with-profile development

一切顺利。 ios 和 android 应用程序均已构建并提交。我花了很长时间才到那里!

但是我收到一封来自 apple 的回邮,上面写着:

ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.

这是一个 expo react-native 应用程序,所以我没有 SwiftSupport 文件夹。

这是我的 eas.json 文件:

{
  "cli": { "requireCommit": true },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal",
      "node": "12.22.8"
    },
    "preview": {
      "distribution": "internal",
      "node": "12.22.8"
    },
    "production": {
      "distribution": "internal",
      "node": "12.22.8"
    }
  },
  "submit": {
    "development": {
      "android": {
        "serviceAccountKeyPath": "./private/google-app-service-account.json",
        "track": "internal"
      },
      "ios": {
        "appleId": "uuu@uuuuuu.uuu",
        "ascAppId": "xxxxxxxxxx",
        "appleTeamId": "yyyyyyyyyy"
      }
    },
    "production": {
      "android": {
        "serviceAccountKeyPath": "./private/google-app-service-account.json",
        "track": "internal"
      },
      "ios": {
        "appleId": "uuu@uuuuuu.uuu",
        "ascAppId": "aaaaaaaaaa",
        "appleTeamId": "bbbbbbbbbb"
      }
    }
  }
}

我已经重新配置(我认为)并生成了一组新的凭据,但仍然不行。

我使用这个命令重新配置:

 expo build:ios -c

有什么想法吗?

我认为问题在于您正在构建

"distribution": "internal" 

它们不打算发布到 ios。如果你删除它应该工作。