Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve GraphQL error during eas build -p ios #136

Closed
EvanBacon opened this issue Dec 8, 2020 · 3 comments
Closed

Improve GraphQL error during eas build -p ios #136

EvanBacon opened this issue Dec 8, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@EvanBacon
Copy link
Contributor

eas.json

{
  "builds": {
    "android": {
      "release": {
        "workflow": "generic"
      }
    },
    "ios": {
      "release": {
        "distribution": "internal",
        "workflow": "generic"
      }
    }
  }
}

Fails after running eas build -p ios

Failed to setup credentials.
    CombinedError: [GraphQL] Unexpected server error.

Re running throw a different error message in the same place

✔ Synced capabilities
Failed to setup credentials.
    Error: Run 'eas device:create' to register your devices first
@dsokal dsokal added the enhancement New feature or request label Sep 8, 2021
@dsokal
Copy link
Contributor

dsokal commented Sep 17, 2021

  • expo init blahblah2 -> choose bare minimal
  • eas build:configure
    It generated the following eas.json:
    { 
      "build": {
        "release": {},
        "development": {
          "distribution": "internal",
          "android": {
            "gradleCommand": ":app:assembleDebug"
          },
          "ios": {
            "buildConfiguration": "Debug"
          }
        }
      },
      "submit": {
        "release": {}
      } 
    }
    
  • eas build -p ios --profile development
  • Hit ENTER a few times.

Result:

  Build details: https://expo.dev/accounts/dsokal/builds/XYZ

  Waiting for build to complete. You can press Ctrl+C to exit.
  ⠏ Build queued...

It seems it's not an issue anymore.

@dsokal dsokal closed this as completed Sep 17, 2021
@senorflor
Copy link

Similar issue when attempting first build on a new app for internal beta testing:

eas build --platform ios
✔ Logged in and verified
› Team ****
› Provider ****
✔ Bundle identifier registered ****
✔ Synced capabilities: No updates
✔ Synced capability identifiers: No updates
✔ Fetched Apple distribution certificates
✔ Generate a new Apple Distribution Certificate? … yes
✔ Created Apple distribution certificate
Failed to setup credentials.
    CombinedError: [GraphQL] Unexpected server error.

Achieved (likely) manual resolution and a when I remembered that I needed to do the manual Beta App Information and Beta App Review Information form at https://appstoreconnect.apple.com/apps/***/testflight/test-info

Next run of eas build --platform ios was clean. Including notes in case this is a particular error which can be differentiated/piped through meaningfully.

@senorflor
Copy link

Apologies, I see the open umbrella issue now; will comment there instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants