Closed ohayon closed 4 years ago
This is a known issue currently being discussed on the Swift forums.
As this problem is fundamentally an Xcode issue, and not an issue with grpc-swift, you'll need to use FeedbackAssistant to file the report. Sorry!
Ah got it, thanks for the quick reply!
FWIW: I was able to work around this issue by moving my SwiftUI code into a swift package, which can be previewed in xcode12 without an associated app and its runtime dependencies.
That said, it only works when the package is opened independently. The package cannot be a child of the primary project or in a shared workspace with the primary project, or you're right back where you started :(
Describe the bug
Using version
1.0.0-alpha.15
, Xcode is not able to build for SwiftUI previews because of what is seemingly a duplicate symbols warning.The diagnostics messages are:
To reproduce
Steps to reproduce the bug you've found:
Expected behaviour
SwiftUI previews work as intended by Xcode