Cannot compile combine.

Unable to combine a project with dependencies that rely on combine. Getting an error saying unable to compile combine

This issue started with Xcode 13 beta 3 and still persists with beta 4 for me. The project builds and runs fine in debug configuration, this error only happens when trying to build in release configuration.

This is happening with a dependency linked though SPM.

Not sure how to fix this

Cannot compile combine.
 
 
Q