Skip to main content

Incrementing App Versions for Android and iOS

Increment app versions for Android and iOS or automate the process using Fastlane

Updated over 2 years 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.


Feedback & Support

Developers built TestApp.io to solve the pain of app distribution for mobile app development teams.

Join our community for feedback and support.

Happy releasing πŸŽ‰

Did this answer your question?