filmov
tv
Install flutter on mac #tutorial

Показать описание
An overview of steps to install flutter on Mac
OFFICIAL DOCUMENTATION
- flutter docs - get started - macOS - iOS
_________________________________________________________
ENVIRONMENT SETUP
MacOS version check
- macOS 11 (Big Sur) or later
- use cmd + space - about this mac - check version
Shell check
- As of October 2019 release of macOS Catalina (macOS 10.15), Zsh or zsh is the default shell
- to check enter in terminal dscl . -read ~/ UserShell
Directory
- ~/development
Install Xcode
- app store - search for and install Xcode Developer Tools by Apple
- configure command line tools to use installed Xcode
- signing the license - sudo xcodebuild -license
Homebrew for package management
Git for source code management – included with Xcode
CocoaPods for compiling plugins
- shell command - brew install cocoapods
Code editing
_________________________________________________________
Flutter SDK Installation
Download SDK and add to PATH
- add to ~/.zshenv - export PATH=$HOME/development/flutter/bin:$PATH
Simulator Setup
- install the iOS Simulator - xcodebuild -downloadPlatform iOS
- open simulator - open -a Simulator
- setup to use 64 bit – Launch Xcode - Window - Devices and Simulator - Simulators - create with + or choose existing
OFFICIAL DOCUMENTATION
- flutter docs - get started - macOS - iOS
_________________________________________________________
ENVIRONMENT SETUP
MacOS version check
- macOS 11 (Big Sur) or later
- use cmd + space - about this mac - check version
Shell check
- As of October 2019 release of macOS Catalina (macOS 10.15), Zsh or zsh is the default shell
- to check enter in terminal dscl . -read ~/ UserShell
Directory
- ~/development
Install Xcode
- app store - search for and install Xcode Developer Tools by Apple
- configure command line tools to use installed Xcode
- signing the license - sudo xcodebuild -license
Homebrew for package management
Git for source code management – included with Xcode
CocoaPods for compiling plugins
- shell command - brew install cocoapods
Code editing
_________________________________________________________
Flutter SDK Installation
Download SDK and add to PATH
- add to ~/.zshenv - export PATH=$HOME/development/flutter/bin:$PATH
Simulator Setup
- install the iOS Simulator - xcodebuild -downloadPlatform iOS
- open simulator - open -a Simulator
- setup to use 64 bit – Launch Xcode - Window - Devices and Simulator - Simulators - create with + or choose existing