Created
April 20, 2019 10:40
-
-
Save tomaszpolanski/58cb1167cf7cafa31e7033503ee035f3 to your computer and use it in GitHub Desktop.
Building Flutter for MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- `flutter channel master && flutter doctor` | |
- `export ENABLE_FLUTTER_DESKTOP=true` | |
- `git clone git@github.com:google/flutter-desktop-embedding.git` | |
- Move your project inside the `flutter-desktop-embedding` folder | |
- Copy the `macos` folder from `flutter-desktop-embedding/example` to your project | |
- `cd flutter-desktop-embedding/my-project && flutter run -d macos` |
I had to run flutter build macOS
and then run the project from Xcode to get it to work. Wow this is awesome!
Needs to add debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
to main functio. BTW you ROCK!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@nemoryoliver same here