Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install flutter and dart in Xcode macosx?

I need to know if there is any way or plugin to run dart code on Xcode for flutter app development. If there is any mention here, every time I searched on internet it only shows me flutter commands for terminal to run app on iOS. I want my IDE to be XCODE for flutter development. here is what flutter official documentations says when I ask same question Flutter Documentation about MacOS Thanks in advance.

like image 379
Ahsan Avatar asked Mar 12 '19 10:03

Ahsan


People also ask

How do you add a flutter in Xcode?

Open the default Xcode workspace in your project by running open ios/Runner.xcworkspace in a terminal window from your Flutter project directory. Select the device you intend to deploy to in the device drop-down menu next to the run button. Select the Runner project in the left navigation panel.

Can I use DART on Xcode?

Dart and Flutter are officially supported by IntelliJ/Android Studio and VSCode. I think there is some integration with VIM and Emacs, but not officially supported. There is no integration with XCode though.


1 Answers

You can install and use flutter on macOS. But you can not use XCode as IDE, officially they announced either use Android Studio / IntelliJ or Visual Studio Code.

For Android Studio / IntelliJ:

https://flutter.dev/docs/get-started/editor?tab=androidstudio

For Visual Studio Code:

https://flutter.dev/docs/get-started/editor?tab=vscode

As a suggestion iOS or other developer should use VSCode its light weighted and more understandable and android developer have their own option.

enter image description here

enter image description here

like image 100
Mr.Javed Multani Avatar answered Sep 28 '22 11:09

Mr.Javed Multani