expo / expo/eas-cli

EAS doesn’t detect the environment variables.

Open
#2,804 8 comments 3 reactions 1 assignee Claimed by @szdziedzic View on GitHub
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### Summary

eas-cli/14.2.0
expo: ~52.0.18

I’ve successfully uploaded variables to the EAS server using this:
```
eas env:create --scope project --name GOOGLE_SERVICES_JSON --type file --value ./google-services.json

eas env:create --scope project --name GOOGLE_SERVICES_INFO_PLIST --type file --value ./GoogleService-Info.plist
```

I see them on the website and can pull them via the CLI
Screenshot 2024-12-15 at 15 00 11

However, when I build the project, I see a warning.
```
eas build --platform ios --profile production
No environment variables with visibility "Plain text" and "Sensitive" found for the "production" environment on EAS servers.
```

Why am I receiving this warning?

### What platform(s) does this occur on?

iOS

### SDK Version

52.0.18

### Environment

```text
expo-env-info 1.2.1 environment info:
System:
OS: macOS 15.1.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
Yarn: 1.22.21 - /opt/homebrew/bin/yarn
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
Watchman: 2024.12.02.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.16.2 - /opt/homebrew/bin/pod
IDEs:
Android Studio: 2024.1 AI-241.15989.150.2411.11948838
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
expo: ~52.0.18 => 52.0.18
expo-router: ~4.0.11 => 4.0.11
react: 18.3.1 => 18.3.1
react-dom: 18.3.1 => 18.3.1
react-native: 0.76.5 => 0.76.5
react-native-web: ~0.19.13 => 0.19.13
npmGlobalPackages:
eas-cli: 14.2.0
Expo Workflow: bare
```

### Minimal reproducible example

Not applicable

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.