After build ios app in flutter project error occurred
'mobileffmpeg/MobileFFmpegConfig.h' file not found
even class exits in pods
Any suggestions?
After build ios app in flutter project error occurred
'mobileffmpeg/MobileFFmpegConfig.h' file not found
even class exits in pods
Any suggestions?
If you're on flutter SDK 2.12.X, the error is probably because of function rename. So go to your podfile...
It seems that the function flutter_install_ios_plugin_pods was changed to flutter_install_plugin_pods in the new version.
I fixed this issue by replace lines:
def flutter_install_ios_plugin_pods(ios_application_path = nil)
↓
def flutter_install_plugin_pods(application_path = nil, relative_symlink_dir, platform)
plugin_pods = flutter_parse_plugins_file(plugins_file)
↓
plugin_pods = flutter_parse_plugins_file(plugins_file, platform)
Good luck.
Credit: chainzhang