stleamist / BetterSafariView

A better way to present a SFSafariViewController or start a ASWebAuthenticationSession in SwiftUI.
MIT License
573 stars 56 forks source link

Could not find module `BetterSafariView` for target `x86_64-apple-ios-simulator` #28

Open GlennBrann opened 2 years ago

GlennBrann commented 2 years ago

I am getting the following error when trying to build my project on my M1 mac mini.

Could not find module 'BetterSafariView' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: /Users/username/Library/Developer/Xcode/DerivedData/Project-abcdefg/Build/Products/Debug-iphonesimulator/BetterSafariView.swiftmodule

Any ideas how to fix this? Does BetterSafariView need to be compiled as an XCFramework?

Thanks!

Enriquecm commented 2 years ago

@GlennBrann did you find a solution for it?