Open bashcious opened 2 weeks ago
We do have https://github.com/juliansteenbakker/mobile_scanner/issues/1018 as well, which indicates that we have issues with Apple Silicon Macs when compiling. However, I do not have access to an Apple Silicon Mac to debug this just yet.
I am encountering a compatibility issue when using the mobile_scanner package on an Apple Silicon Mac. The project builds and runs fine on a real device, but it fails on the simulator with the following error:
Swift Compiler Error (Xcode): Could not find module 'RxSwift' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator
Steps to Reproduce:
Add the mobile_scanner package to the pubspec.yaml:
Open xcode and add rxswift https://github.com/reactivex/rxswift
Attempt to build and run the project on the iOS simulator.
Observed Behavior:
Removing the mobile_scanner package resolves the issue, but I need to use this package in my project.
Modules
Build Settings
I have tried playing with the Architecture no success.
Any insights or fixes would be greatly appreciated. Thank you for your assistance!