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

Time:03-14

I have an expo react native app. When I use

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

All goes well. Both ios and android apps are built and submitted. It took me a long time to get there!

But I get an email back from apple that says:

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

This is an expo react-native app so I do not have a SwiftSupport folder.

This is my eas.json file:

{
  "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": "[email protected]",
        "ascAppId": "xxxxxxxxxx",
        "appleTeamId": "yyyyyyyyyy"
      }
    },
    "production": {
      "android": {
        "serviceAccountKeyPath": "./private/google-app-service-account.json",
        "track": "internal"
      },
      "ios": {
        "appleId": "[email protected]",
        "ascAppId": "aaaaaaaaaa",
        "appleTeamId": "bbbbbbbbbb"
      }
    }
  }
}

I have reprovisioned (I think) and generated a new set of credentials and still no go.

I used this command to reprovision:

 expo build:ios -c

Any thoughts?

CodePudding user response:

I think the problem is you are building with

"distribution": "internal" 

Which they are not meant to get published to ios. If you remove that it should work.

  • Related