Actually there is a solution:
https://blog.tjitjing.com/index.php/2021/09/auto-increment-build-number-in-xcode-11-xcode-12.html
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: