post_install do |installer|
  flutter_post_install(installer) if defined?(flutter_post_install)
end
    

    
       Note:
  The flutter_post_install method (added in Flutter 3.1.0),
  adds build settings to support native Apple Silicon arm64 iOS simulators.
  Include the if defined?(flutter_post_install) check to ensure your Podfile
  is valid if you are running on older versions of Flutter that don’t have this method.

Run pod install.

    
       Note:
  When you change the Flutter plugin dependencies in
  my_flutter/pubspec.yaml, run flutter pub get
  in your Flutter module directory to refresh the list
  of plugins read by the podhelper.rb script.
  Then, run pod install again from
  your application at some/path/MyApp.

The podhelper.rb script embeds your plugins,
Flutter.framework, and App.framework into your project.