build_app(
  skip_build_archive: true,
  archive_path: "../build/ios/archive/Runner.xcarchive",
)
upload_to_testflight

You’re now ready to perform deployments locally or migrate the deployment
process to a continuous integration (CI) system.

Running deployment locally

Build the release mode app.
    
      
 flutter build appbundle.
      
 flutter build ipa.

Run the Fastfile script on each platform.
    
      
 cd android then
 fastlane [name of the lane you created].
      
 cd ios then
 fastlane [name of the lane you created].

Cloud build and deploy setup

First, follow the local setup section described in ‘Local setup’ to make sure
the process works before migrating onto a cloud system like Travis.