Expo eas React-Native 应用程序提交收到“SwiftSupport 文件夹丢失”错误

Dav*_*ney 3 iphone ios react-native expo

我有一个博览会反应本机应用程序。当我使用

eas build --non-interactive -p all --auto-submit-with-profile development
Run Code Online (Sandbox Code Playgroud)

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

但我收到苹果回复的一封电子邮件,上面写着:

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

这是一个博览会反应本机应用程序,所以我没有 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"
      }
    }
  }
}

Run Code Online (Sandbox Code Playgroud)

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

我用这个命令重新配置:

 expo build:ios -c
Run Code Online (Sandbox Code Playgroud)

有什么想法吗?

Nic*_*las 8

我认为问题是你正在构建

"distribution": "internal" 
Run Code Online (Sandbox Code Playgroud)

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