I try to run my flutter project on iOS but I get this error every time.
Running Xcode build...
Xcode build done. 13.3s
Failed to build iOS app
Swift Compiler Error (Xcode): Could not find module 'PusherSwiftWithEncryption' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, at: /Users/muhammadsabah1/Downloads/flutter_projects/sale_point_app/build/ios/Debug-iphonesimulator/PusherSwiftWithEncryption/PusherSwiftWithEncryption.framework/Modules/PusherSwiftWithEncryption.swiftmodule
/Users/muhammadsabah1/Downloads/flutter_projects/sale_point_app/packages/pusher_client-master/ios/Classes/AuthRequestBuilder.swift:7:7
In my pubspec.yaml file I use the pusher dependency:
pusher_client:
path: packages/pusher_client-master
laravel_echo:
path: packages/echo-master