2

After build ios app in flutter project error occurred

'mobileffmpeg/MobileFFmpegConfig.h' file not found

even class exits in pods

enter image description here

Error: enter image description here

Any suggestions?

Mhmd Backer Shehadi
  • 559
  • 1
  • 12
  • 30

2 Answers2

1

Can you please try to check this :

https://github.com/tanersener/flutter-ffmpeg/issues/118

ElsayedDev
  • 601
  • 1
  • 8
  • 15
0

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

Loïc Fonkam
  • 2,284
  • 11
  • 25