Beta
beta
Submit a beta build to App Store connect.
bundle exec fastlane beta
Options
| Option |
Type |
Description |
build_number |
Integer |
Custom build number (skips auto-increment from TestFlight) |
version_number |
String |
Custom version number (skips ENV['VERSION_NUMBER']) |
Environment Variables
| Variable |
APP_NAME |
APP_SCHEME |
ASC_TEAM_ID |
CHANGELOG |
MATCH_GIT_BRANCH |
MATCH_GIT_URL |
MATCH_PASSWORD |
TEAM_ID |
USER_EMAIL |
Details
What it does
- Configures App Store Connect API key
- Installs dependencies (Xcode version, CocoaPods if needed)
- Generates GraphQL operations if configured
- Increments build number based on latest TestFlight build (or uses custom
build_number)
- Sets version from
VERSION_NUMBER env var (default 1.0.0), or uses custom version_number
- Creates a temporary CI keychain
- Syncs appstore provisioning profiles for the beta bundle identifier (
.beta suffix)
- Builds the app using the Beta configuration
- Uploads the
.ipa to TestFlight with CHANGELOG as the changelog
Notes
- Beta builds always use Futured's own App Store Connect account (configured via
TEAM_ID and ASC_TEAM_ID)
- The build number auto-increment fetches the latest build from TestFlight and adds 1
- If a custom
build_number is lower than the latest TestFlight build, a warning is shown but the build proceeds
- Version number suffixes (e.g.,
1.0.0-beta) are stripped to the base version