macOS: Correct Info.plist CFBundleVersion version string
This commit changes the Blender macOS bundle and blender-thumbnailer app extension bundle Info.plist `CFBundleVersion` key to use the "short" version string (X.X.X) instead of the "long" version string (X.X.X + date), following the specs.[^1] This fixes an issue with Xcode bundle archiving where the previous long version would cause an error to be thrown during archive validation: ``` ERROR: [ContentDelivery.Uploader.6000007BD0C0] CFBundleVersion, “5.0.0 2025-09-09”, must be composed of one to three period-separated integers. (-19239) ``` The previous "long" version string is still used by the `CFBundleGetInfoString` key and thus still shows up in the application informations. See Pull Request for app preview before/after screenshots comparaison. [^1]: https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleversion?language=objc Pull Request: https://projects.blender.org/blender/blender/pulls/146030
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
|
||||
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
|
||||
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}, Blender Foundation</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
||||
Reference in New Issue
Block a user