XCode build fails

I trying to build a project using Unity 2023.1.9f1 and XCode 14.2. The build itself in Unity completes without errors or warnings. When the build processes reaches XCode “clean succeded” appears an then the build fails with the message:

‘/Users/stefan/Library/Developer/Xcode/DerivedData/Unity-iPhone-cyzaufdkmcilnoajjfzrzcvdbhky/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/Protobuf/Protobuf.framework/Protobuf’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file ‘/Users/stefan/Library/Developer/Xcode/DerivedData/Unity-iPhone-cyzaufdkmcilnoajjfzrzcvdbhky/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/Protobuf/Protobuf.framework/Protobuf’ for architecture arm64

Does anyone know what the cause for this could be?

Best,
Stefan

Long answer: xcode - FBLPromises.framework does not contain bitcode - failing build - Stack Overflow

Short answer: Disable bitcode