Member-only story
How to deploy a Flutter app to an iOS device
4 min readOct 4, 2019
To deploy your app on an iOS device such as iPhone or iPad, you’ll need:
- An Apple account
- 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
- 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 - The last line should open the default Xcode workspace. In that window, select the
Runner
project in the left navigation panel. - 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.