Sitemap

Flutter 2.0 deploy to iOS Device without a Developer Account with MacOS

4 min readMar 28, 2021

As of today flutters homepage says that you need a developer account in order to deploy to an iOS device. Today I'm going show you how to deploy to an iOS device without paying for developer account.

First create a basic flutter app. Open up the terminal. I personally use iTerm2 (Its Awesome & Open Source) copy and paste the command into the terminal.

flutter create ios_deploy
Press enter or click to view image in full size

cd into the the project directory.

cd ios_deploy/

In the Terminal: Run this Xcode command inside the flutter project. This is going to open up Xcode. (If you don’t have Xcode installed open up the appStore and download it)

open ios/Runner.xcworkspace
Press enter or click to view image in full size

Here is Xcode. Click the tab “Signing & Capabilities” We need to change the team from none to personal team

Press enter or click to view image in full size

Click the team dropdown menu and click add account

Press enter or click to view image in full size

Sign in to your normal Apple account

Press enter or click to view image in full size

Click the Manage Certificates button

Press enter or click to view image in full size

Click the plus button and click Apple Development. After click Done

Press enter or click to view image in full size

Now the main Xcode screen and select Team for the dropdown menu and select Personal Team. ( Almost Done )

Press enter or click to view image in full size

Connect your iPhone to your Mac 🖥 and select your iOS Device at the top of the menu. ( if you dont see the device check your phone to allow the connection you have to “Trust the Device” — its a button)

Press enter or click to view image in full size

Next we need to select “release” for the app to be able to load on the iOS device

Press enter or click to view image in full size

Finally we can build and deploy. Hit the Play button and wait for it to finish building.

Press enter or click to view image in full size

We will get this Error. Its OK don’t freak out.

Press enter or click to view image in full size

Setting on the iOS device. We need to go to setting > general > Device Mangement ( its at the bottom )

Press enter or click to view image in full size

Select the Trust “Apple Development”

Press enter or click to view image in full size

Finally we can build and deploy. Hit the Play button and wait for it to finish building.

Press enter or click to view image in full size

Finally the app is on the iOS device

Press enter or click to view image in full size

Some errors that you might experience

Just unlock the phone

Press enter or click to view image in full size

All right that's it. If this article helped you out throw me a clap 👏 . If you experienced any bugs that I didn't cover go ahead and leave those in response I'll try to help you out. Peace ✌️

--

--

Kafka
Kafka

Written by Kafka

“Genius” is 1% inspiration and 99% perspiration. Accordingly, a ‘genius’ is often merely a talented person who has done all of his homework — T.E.

No responses yet