iosxcodeflutter

Flutter module not found in Xcode


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?


Solution

  • Update 2025:

    If the issue happens with Product\Archive only. Try the following:

    Ref: https://docs.flutter.dev/deployment/ios

    Original answer:

    Make sure platform: iOS version in pod file matches with deployment info in Xcode

    enter image description here