Comments (2)
Hey,
I suspect that you get this error because when resolving credentials for your project you don't have APP_NAME
env var set locally when running eas build
and we use the fallback value from package.json
. Secrets are only available during cloud builds and are not accessible in EAS CLI when resolving stuff.
What I think you can do is add APP_NAME
to the env
section of your eas.json. I don't think that app name is a secret, is it? I would also remove it from secrets.
{
"build": {
"production": {
"env": {
"APP_NAME": "myappname"
}
}
}
}
from eas-cli.
@szdziedzic Thanks for the response. I'm on the same page with you.
But there are two questions then:
- If I'm developing a multi-tenat app (same codebase, multiple Expo projects and apps in AppStore/PlayStore) - I have to store two unique identifiers (project id and project slug) for each project outside of Expo. And now it turned out that I also need to store app name for each project. I'm curious why having just project id isn't enough (for submitting a build).
- I'm also curious why it doesn't work the same way for app identifiers then? Even if I don't have
ios.bundleIdentifier
andandroid.package
and provide fallback (see the screenshot) - I'm able to submit a build and an identifier will be taken from the EAS Secrets and used for my build.
from eas-cli.
Related Issues (20)
- Building project with app clip target fails ("The relationship 'parentBundleId' is required") HOT 2
- eas submit not using the updated CFBundleShortVersionString from app.json HOT 1
- EAS build fails from nx-monorepo due to missing dependencies, yet hook that should fix package.json runs without issues HOT 5
- After Apple app account holder transfer, app is unbuildable with eas. HOT 2
- EAS Build iOS - Incorrect Version Number HOT 7
- EAS build fails at apple authentication HOT 16
- [EAS] ** ARCHIVE FAILED ** Exit status: 65 HOT 2
- autoIncrement option is not supported when using app.config.js HOT 2
- iOS App Store build fails with monorepo; not finding expo-router/entry.js HOT 5
- EAS overwriting `ENVIRONMENT` env var HOT 2
- eas metadata:pull not working: Store configuration download encountered 6 errors HOT 2
- white screen on Expo Updates HOT 3
- EAS build no longer sees "android_app_id" for "react-native-google-mobile-ads" in "app.json".
- EAS build swapping image files/no API requests being made (android) HOT 4
- Internal Server Error: 'd', 'Received an internal server error from Apple's App Store Connect / Developer Portal servers, HOT 9
- Authentication with Apple Developer Portal failed! HOT 1
- I am trying to build the iOS version of an application locally whose Expo. I have no issues building the Android version but run into issues when building the iOS. I can build the iOS version when I generate the Xcode project myself but cannot via eas. HOT 3
- iOS internal distribution build is failing during Pods Install step HOT 1
- During `Run fastlane`, `eas build` fails for IOS because of global.css - Cannot read properties of undefined (reading 'raw') HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eas-cli.