Get the latest tech news

Automatic build number incrementing in Xcode


There are many ways to do automatic build version number incrementing in Xcode. I don’t know of any really easy universal way of doing it, so this is simply ...

2025-06-28 • 1 min read#software#tools#xcode There are many ways to do automatic build version number incrementing in Xcode. I just added it to a new project so thought I’d document if only for my own future reference! For both “Run” and “Archive” actions, add a Pre-action with a script like the one below Here I’m using a reverse notation date and time format Make sure to set “Provide build settings from” to your project

Get the Android app

Or read this on Hacker News

Read more on:

Photo of xcode

xcode

Related news:

News photo

Xcode 26 beta includes new ‘Apple Vision Pro 4K’ reference

News photo

Apple brings ChatGPT and other AI models to Xcode

News photo

XTool – Cross-platform Xcode replacement