Install flutter app developed using android studio on iphone

The flutter tool knows how to install and run applications on iOS and Android (by calling out to Xcode or Android Studio tools under the covers).

Flutter has instructions on setting up your machine for iOS and Android development including adding the flutter tool to your $PATH: https://flutter.io/setup/

There are also instructions walking you through creating and running your first Flutter app: https://flutter.io/getting-started/

flutter run --release is probably the command you're looking for, as that will install and run the .app on an attached device (iOS or Android).

In the case of iOS, sometimes there are signing failures, or configuration errors specific to your machine/account which the flutter tool can't fix for you and it will direct you to open ios/Runner.xcworkspace in your Flutter app directory and make modifications inside XCode (or use the build/run buttons there).

"Flutter apps" are just normal iOS and Android apps which use a FlutterView (which itself is a normal UIView subclass on iOS and android.View subclass on Android), thus normal iOS and Android development instructions, particularly when pertaining to putting an App on the device generally apply.

This was answered by Eric Seidel


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.

Tags:

Flutter