It’s actually a good idea. Using dots is sort of a legacy format that still works, except in the case of Xcode 13’s new automatic build number management feature. That feature assumes CFBundleVersion
is a simple integer and quietly truncates starting at the first dot. That’s what happened in your previous question.
Consider CFBundleVersion
as an internal build number. It doesn’t have to resemble your user-visible CFBundleShortVersionString
in any way. You can reset it to (say) 1
every time you bump your CFBundleShortVersionString
. And if you adopt the automatic build number feature, then you can just leave it alone and let Xcode bump it for you when uploading.
Also consider the current documentation for CFBundleVersion
to be obsolete. Someone should submit a feedback on that.