I would like to set environmental variables ie username using a command I tried
fastlane fastlane-credentials add --username me@myappleaccount.com
but I still get a prompt :
[10:30:31]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username:
I work in a team of developers and I would like to have an ability to for every developer to set there own username without committing the files with different username. Is there a command for that.
I have no experiences using the command you mentioned, but we use dotenv
files for all kind of variables and those work like a charm. Some of them are under version control and some are developer specific.
How to use dotenv
files is described here . We use both the automatically loaded dotenv
files and some manually loaded ones.
Run in your terminal export FASTLANE_USER=your@email.com
This will set the variable with your email.
You can then run fastlane
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.