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?
If the issue happens with Product\Archive only. Try the following:
Remove or comment the platform line in the Podfile
Run flutter build ipa
Install and open the Apple Transport macOS app. Drag and drop the build/ios/ipa/*.ipa app bundle into the app.
Ref: https://docs.flutter.dev/deployment/ios
Make sure platform: iOS version in pod file matches with deployment info in Xcode