DEV Community

rderik
rderik

Posted on

Using a simple Bash script to increase your iOS bundle version

Last week I got a message from someone using a tool I created for myself called XCIncreaseBuildVersion. I created this script that increases the bundle version in preparation for uploading my app to App Store Connect.

It's always satisfying to see your tools help someone.

The script searches the Info.plist files and increases the build version number using plutil(1).

If you are interested in the tool you can find it here:

https://github.com/rderik/xcibversion/

If you want to check the whole article that explains the logic behind the automation of the process, and how to upload the xarchive to App Store Connect, you can find it here:

https://rderik.com/blog/automating-build-and-testflight-upload-for-simple-ios-apps/

Who knows, maybe it can also help you in your CI/CD pipeline.

Top comments (0)