After some additional investigation, turning off Manage Version and Build Number during export fixed it for me.
If you upload to TestFlight from the command line, you might need to set manageAppVersionAndBuildNumber to false in exportOptions.plist.
I expected that this option will only affect the final app executable and not embedded frameworks.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: