In my iOS apps, i have a script (a build phase actually) that upgrades the target's Info.plist CFBundleVersion to a number related to the git commit count. I've been using for a while and it works for me, never a problem.
On Xcode 14, something has changed and the script keeps working (i mean the .plist file is correctly updated) but applications no longer shows the correct build number and it's missing on Archive too. I'll add some screenshot (of a blank new project, so no settings have been altered in times).
This is Target's General Tab in Xcode 14
This is Info.plist file correctly updated by Build Phase Script
In previous Xcode versions, on Target's General Tab i used to have the build number synced with the one in .plist file and it was also synced when Archiving builds.
Now, if i try to archive the build, it goes out as 1.0(1).
Am I missing something or am I doing something wrong?
Hope you can understand my English. Thanks for your help.