Distribute to Testflight after archiving error missing plist key

I get the following error when I’m distributing my app the to the Testflight in Xcode 15.3-15.4

The bundle ‘Payload/{app_name}/Frameworks/UnityFramework.framework’ is missing plist key.
The Info.plist file is missing the required key: CFBundleShortVersionString.
Please find more information about CFBundleShortVersionString at CFBundleShortVersionString | Apple Developer Documentation (ID: 5887c046-7ee6-4249-954e-8c4ee6ce172d)

The error does not seem to make sense, since the CFBundleShortVersionString is present in Info.plist. Building to iPhone, iPad etc works fine, it’s just the distributing to App Store that fails.