Then, go to the Settings app on the iOS device,
select General > Device Management
and trust your Certificate.
For first time users, you might need to select
General > Profiles > Device Management instead.
On iOS 16 and higher, navigate back to the top level
of the Settings app, select Privacy & Security > Developer Mode,
and toggle Developer Mode on.

You can skip this step if your apps do not depend on
Flutter plugins with native iOS code.
Install and set up CocoaPods by running the following commands:

    
$ sudo gem install cocoapods
    
    
       Note:
  The default version of Ruby requires sudo to install the CocoaPods gem.
  If you are using a Ruby Version manager, you might need to run without sudo.

      Additionally, if you are installing on an Apple Silicon Mac,
  run the command:
      
  $ sudo gem uninstall ffi && sudo gem install ffi -- --enable-libffi-alloc