I meet the same problem, tried all the ways and make none sense. But if i change to legacy build mode in Xcode 12, it can build success.Now I can not uppdate to Xcode13.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: