latest_testflight_build_number

Fetches most recent build number from TestFlight

Provides a way to have increment_build_number be based on the latest build you uploaded to iTC.
Fetches the most recent build number from TestFlight based on the version number. Provides a way to have increment_build_number be based on the latest build you uploaded to iTC.

latest_testflight_build_number
Supported platforms ios
Author @daveanderson
Returns Integer representation of the latest build number uploaded to TestFlight

2 Examples

latest_testflight_build_number(version: "1.3")
increment_build_number({
  build_number: latest_testflight_build_number + 1
})

Parameters

Key Description Default
live Query the live version (ready-for-sale) false
app_identifier The bundle identifier of your app *
username Your Apple ID Username *
version The version number whose latest build number we want
platform The platform to use (optional) ios
initial_build_number sets the build number to given value if no build is in current train 1
team_id The ID of your App Store Connect team if you're in multiple teams *
team_name The name of your App Store Connect team if you're in multiple teams *

* = default value is dependent on the user's system


To show the documentation in your terminal, run

fastlane action latest_testflight_build_number

View source code


Back to actions