Skip to main content

Incrementing App Versions for Android and iOS

Learn how to manually increment app versions for Android and iOS or automate the process using Fastlane. Plus, discover our Fastlane plugin for seamless app shipping

Updated over 2 months ago

Android

Incrementing the Version Code

Manual Update:

  • Open your app's build.gradle (Module: app) file.

  • Locate the versionCode attribute within the defaultConfig block.

  • Increment the versionCode by 1 (or as per your versioning strategy).
    ​

defaultConfig {
    ...
    versionCode 2 // <--- increment this number
    ...
}

Using Fastlane: With Fastlane, you can automate the increment process. After setting up Fastlane for your project:

  • Use the increment_version_code action to increase your version code.

fastlane run increment_version_code

Automate and Ship with Our Fastlane Plugin: Make your release process more efficient. With our Fastlane plugin, you can increment the version code and automatically ship the updated app to our servers with one command.


iOS

Incrementing the Build Number

Manual Update:

  • Open your app project in Xcode.

  • Select your target and go to the "General" tab.

  • You'll find the "Build" field under the "Identity" section. Increment this number.

Using Fastlane: Once you have Fastlane set up for your iOS project:

  • Use the increment_build_number action to increase your build number.

fastlane run increment_build_number

Automate and Ship with Our Fastlane Plugin: Make your release process more efficient. With our Fastlane plugin, you can increment the version code and automatically ship the updated app to our servers with one command.

Tip: Testers can also use the TestApp.io mobile app (iOS / Android) to install builds and receive push notifications for new releases.


Need help? Contact us β€” we're happy to assist!

Did this answer your question?