flutter packages pub get

Install CocoaPods dependencies:

    
find . -name "Podfile" -execdir pod install \;

Build the Flutter the iOS project:

    
flutter build ipa --release \
    --export-options-plist=$HOME/export_options.plist
    

    Note that export_options.plist is the output of the xcode-project use-profiles command.

Publish the app to App Store Connect:

    
app-store-connect publish \
    --path $(find $(pwd) -name "*.ipa")

As mentioned earlier, don’t forget to set your login keychain
as the default to avoid authentication issues
with apps on your machine:

    
keychain use-login