Alternatively, instead of distributing the large Flutter.xcframework
to other developers, machines, or continuous integration systems,
you can instead generate Flutter as CocoaPods podspec by adding
the flag --cocoapods. This produces a Flutter.podspec
instead of an engine Flutter.xcframework.
The App.xcframework and plugin frameworks are generated
as described in Option B.

To generate the Flutter.podspec and frameworks, run the following 
from the command line in the root of your Flutter module:

flutter build ios-framework --cocoapods --output=some/path/MyApp/Flutter/

Host apps using CocoaPods can add Flutter to their Podfile:

pod

'Flutter'

:podspec

=>

'some/path/MyApp/Flutter/[build mode]/Flutter.podspec'