Multiple “App Store Connect Operation” Errors When Validating the App Archive

Q: I am using SwiftPM, and the app archive validation fails with multiple “App Store Connect Operation” errors. How can I fix this issue?

app-store-connect-operation-errors

A: This is a known issue (FB8761306) in Xcode 12.4 or earlier with apps that have app extensions. This issue occurs because Xcode 12 is needlessly copying third party binary SwiftPM frameworks into your app archive’s PlugIns directory.

Apple fixed this issue in Xcode 12.5. Please update to the most recent version of Xcode to fix this issue.