When using PreviewProvider with SwiftUI it fails with could not find module 'GRPC' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64.
This is likely to be an Xcode issue: grpc doesn't do anything specific here, and there has been issues with Xcode and Swift packages in SwiftUI previews in the past.
Describe the bug
When using PreviewProvider with SwiftUI it fails with
could not find module 'GRPC' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64
.XCode version: 12.2 MacOS version: 10.15.7 gRPC Swift version: 1.0.0-alpha.20 swift-protobuf version: 1.13.0
To reproduce
class Auth_Previews: PreviewProvider {
}