When I build the app in Xcode it throws the error: .../ios/Runner/GeneratedPluginRegistrant.m:10:9: Module 'audioplayers' not found
I tried reinstalling and setting up pods again, however it didn't work. I am also including pod 'Firebase/Core'
in the pod file. Maybe I need to include the Audioplayer module there as well?
Thanks in advance!
Using the File > New > New Module… menu in Android Studio in your existing Android project, you can either create a new Flutter module to integrate, or select an existing Flutter module that was created previously. If you create a new module, you can use a wizard to select the module name, location, and so on.
If you only want to add support for specific enabled platforms, you can do that by supplying the --platforms argument: flutter create --platforms=web,macos . I get the error No option specified for the output directory. when run flutter create or flutter create --platforms web .
Make sure platform: iOS version in pod file matches with deployment info in Xcode
Did you make sure that you started xcode by double clicking the "runner.xcworkspace" from your "project/ios" folder and not "runner.xcodeproj"?
According to this source, it solves the "missing module" issue for a lot of people (As it did for me). https://github.com/flutter/flutter/issues/41033
Have tried many things, flutter clean
, revert the Podfile and etc, still facing the same issue.
Eventually get this fix by solving the issue highlighted in Xcode. You can check
https://github.com/flutter/flutter/issues/54599#issuecomment-644336055 https://github.com/flutter/flutter/issues/53573#issuecomment-749912604
flutter clean
flutter pub get
flutter build ios
It works for me!
Make sure that the selected scheme to run is "debug"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With