Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install the app written in Flutter in iOS?

Tags:

ios

flutter

I want to install the flutter app on the ios system ,how can I do it ?

like image 425
fancypants Avatar asked Mar 03 '17 03:03

fancypants


People also ask

Can you make flutter apps for iOS?

Flutter is a multi-platform application development framework that enables you, among other platforms, to develop iOS and Android apps from the same source code. However, you need to use Xcode to build an iOS app and Xcode will only work on macOS. You cannot get away with Linux or Windows.

How do you run a flutter app in iOS from code?

Create a new project in VS Code To create a new Flutter project from the Flutter starter app template: Open the Command Palette ( Cmd + Shift + P ) . Select the Flutter: New Project command and press Enter .


1 Answers

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.

like image 178
Eric Seidel Avatar answered Sep 20 '22 02:09

Eric Seidel