yo rn-toolbox:fastlane-env
bundle exec fastlane ios setup --env=<myenv>
⚠️ AppStore deployment will require app icons to be setup
- Right now iTunes Connect automatic app creation has been disabled due to issues and will necessitate manual setup
- Head to iTunes Connect
- Create a new app using the app id you provided
App Center is the successor of HockeyApp.
- Create an account on mobile.azure.com
- Get your username at the bottom left of the welcome screen
- Follow the steps to get a working API Token
- Choose
AppCenter
as deployment method in this generator
bundle exec fastlane ios deploy --env=<myenv>
bundle exec fastlane android deploy --env=<myenv>
You might want to share some environment variables accross multiple environments. In order to do so, simply create a
.env
file, remove the variable you want to share in all the environment files and add it in the.env
one.On setup, only version names are centralized in the
.env
file
The
ios setup --env=<myenv>
task mentionned above has been setup to allow you to regenerate your certificates in case you add a new device. Just run it again to include the new devices.
If you have never initiated connection with GitHub and it is not yet trusted. Enter
ssh -T [email protected]
and type 'yes' when you are asked if you trust Github.com
PRODUCT_BUNDLE_IDENTIFIER is probably specified for release in your pbxproj file and fastlane can't override it. Delete the line from your pbxproj file.