Whenever we include the mergeable configuration on an xcframework which contains a SwiftUI preview, the preview can't compile. That's because it is trying to keep the dynamic configuration but on a binary type that is not a dynamic library.
It fails with the error:
Linking failed: linker command failed with exit code 1 (use -v to see invocation)
1d: -make_mergeable can only be used when creating a dynamic library clang: error: linker command failed with exit code 1 (use -v to see invocation)
That's only happening when we add the preview.