I have recently started developing an application with flutter using a plugin with android studio on windows 10. I was able to run app on android phone by connecting a phone with usb debugging mode. What are the steps to run the flutter app on my iphone? I have never built an app before for ios. Any stepwise guide will be appreciated.
Flutter apps can be developed at one go and cross-compiled for different platforms – Mac, iOS, Android, Linux, Windows, Google Fuchsia, Linux, and the web.
Step-1 : Open android studio and Go to File -> New -> New flutter Project. Step-2 : As we click on New Flutter Project we get a dialog box open. As we can see on the left side of this dialog box Flutter give us 4 different option for creating a New flutter project. Option-1 Create a New Flutter App.
To add iPhone to Android Studio, You need one physical macbook in which you have to install Xcode & Xcode Command Line Tools along with simulator. To Publish iOS Flutter APP, you may not needed macbook, one can use codemagic. It is very usefull.
You can not run a flutter app on iOS if your development host is Windows. Like Zeeshan Shabbir said, you have to use XCode and therefore you need a MacOS system.
If you do not have a Mac you can use a virtual machine (for example with High Sierra) inside your Windows host and install XCode + Flutter to run the app on your IPhone. You have to be a Apple Developer to do this, but the free membership is enough I think.
Details can be found here: https://techsviewer.com/
To install flutter on the virtual machine just follow the instructions from the flutter-website.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With