Member-only story

How to deploy a Flutter app to an iOS device

Maria Papageorgiou
4 min readOct 4, 2019

--

To deploy your app on an iOS device such as iPhone or iPad, you’ll need:

  1. An Apple account
  2. Homebrew installed (to install follow this tutorial: http://osxdaily.com/2018/03/07/how-install-homebrew-mac-os/)

Set up physical device deployment in Xcode

  1. Run the following commands in your terminal
    $ brew update
    $ brew install — HEAD libimobiledevice
    $ brew install ideviceinstaller ios-deploy cocoapods
    $ pod setup
    $ cd <YOUR FLUTTER PROJECT DIRECTORY>
    $ open ios/Runner.xcworkspace
  2. The last line should open the default Xcode workspace. In that window, select the Runner project in the left navigation panel.
  3. In the Runner target settings page, make sure your Development Team is selected under General > Signing > Team. When you select a team, Xcode creates and downloads a Development Certificate, registers your device with your account, and creates and downloads a provisioning profile (if needed).

To start your first iOS development project, you may need to sign into Xcode with your Apple ID under “General” tab.

--

--

Maria Papageorgiou
Maria Papageorgiou

Written by Maria Papageorgiou

NYC, Software Developer, “Brilliant, hilarious and charming” — At Least One Person

Responses (2)