expo / expo/eas-cli

Unable to select Team/Provider when running eas build

Open
#1,863 20 comments 5 reactions 1 assignee Claimed by @EvanBacon View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### Build/Submit details page URL

_No response_

### Summary

Same issue as reported in #1731.

I'm unable to select another team and provider when running eas build, even when setting the environment variables as per the suggested solution.

Please use the EXPO_APPLE_TEAM_ID environment variable to configure the team, eg https://github.com/expo/eas-cli/blob/95155681db4ed7666bf7b5a7c5f9873625ac9b17/packages/eas-cli/src/credentials/ios/appstore/__tests__/resolveCredentials-test.ts#L63

_Originally posted by @EvanBacon in https://github.com/expo/eas-cli/issues/1731#issuecomment-1468371377_

Regardless of the value of the EXPO_APPLE_TEAM_ID, my previously used Team Id is always selected per default, and I'm thus unable to select the team/provider for the App ID I'm building.

### Managed or bare?

managed

### Environment

npx expo-doctor

### Error output

✔ Validating global prerequisites versions passed
✔ Checking for incompatible packages passed
✔ Checking for conflicting global packages in project passed
✔ Verifying prebuild support package versions are compatible passed
✔ Checking dependency versions for compatibility with the installed Expo SDK passed
✔ Validating Expo Config passed
✖ Checking package.json for common issues failed
Issues:
The following scripts in package.json conflict with the contents of node_modules/.bin: eslint, lint-staged, prettier.

✖ Found one or more possible issues with the project. See above logs for issues and advice to resolve.

### Reproducible demo or steps to reproduce from a blank project

Running eas build for any project that belongs to a different team than the previous project.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.