You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running eas build -p ios -e production, and my profile(which refers -e) is dynamic value from development to production
I have GoogleServices-Info.plist file stored in eas secret, and i have two of them. one for development and one for production.
I have app.config.js file selecting the correct google services file for my environment and this flow works well (checked in eas build log)
the problem is, I think the prebuild step should run every time when i change my environment so that the correct plist file should be mapped in ios directory. but prebuild is always being skipped because i have ios directory.
I am not sure this is a proper(recommended) approach for branching google-services. if it is not recommended way, i want to know other options to branch it.
what are the ways to trigger prebuild script to run whether I have ios directory or not? seems there is no way to re-prebuild.
the problem is, I think the prebuild step should run every time when i change my environment so that the correct plist file should be mapped in ios directory. but prebuild is always being skipped because i have ios directory.
I don't believe it's necessary, I mean if you are on the bare workflow I believe you don't need to do prebuild with app config pointing to the correct GoogleService-Info.plist every time. You need to restore your GoogleService-Info.plist secret to your ios directory vs putting it somewhere else and making prebuild do it. You can use the pre-install hook to do it.
Build/Submit details page URL
No response
Summary
I am running
eas build -p ios -e production
, and my profile(which refers -e) is dynamic value from development to productionI have
GoogleServices-Info.plist
file stored in eas secret, and i have two of them. one for development and one for production.I have
app.config.js
file selecting the correct google services file for my environment and this flow works well (checked in eas build log)the problem is, I think the prebuild step should run every time when i change my environment so that the correct plist file should be mapped in ios directory. but prebuild is always being skipped because i have ios directory.
google-services
. if it is not recommended way, i want to know other options to branch it.thx
Managed or bare?
bare
Environment
Error output
No response
Reproducible demo or steps to reproduce from a blank project
eas build -p ios -e production
with a prebuild run on local.
The text was updated successfully, but these errors were encountered: