Fastlane notes
IOS
Step 0:
Access to 2 websites: - For certs - For App Store access
If not installed:
sudo gem install fastlane --verbose
xcode-select --install # Ensure Xcode command line tools
gem cleanup # optional recommendation
Step 1:
A setup wizard that detects and asks steps along the way There is possible ways to store it:Step 2:
change directiory and set it:
Outside pipelines
When fastlane is not running through the pipelines IOS is set up so version number is being used by package.json - which means in a major, minor or patch release increment the number.
The app.json contains appleTeamId and display name, and logo for the app. And should also work with adaptiveIconfor android
When running fastlane beta (IOS)
Important
- Sign in to https://appleid.apple.com.
-
Head over to App-Specific Passwords 1. make a password and call it Fastlane or whatever 2. For further usage put it inside
.envas- from the root of the project run:
watch the compilation and see:
+----------------------------------------------+ | fastlane summary | +------+-------------------------+-------------+ | Step | Action | Time (in s) | +------+-------------------------+-------------+ | 1 | default_platform | 0 | | 2 | increment_version_numb | 0 | | | er | | | 3 | increment_build_number | 0 | | 4 | build_app | 454 | | 5 | upload_to_testflight | 219 | +------+-------------------------+-------------+
- from the root of the project run:
watch the compilation and see: