Flutter Complete MacBook Setup 2024

Опубликовано: 18 Август 2024
на канале: theailanguage
589
16

0:00 Intro
0:30 Flutter Documentation
1:50 Hardware Requirements
2:40 Software Requirements
2:52 Operating System
3:17 Shell
4:22 Install Rosetta 2
5:15 Install Xcode
6:40 Install Cocoapods
8:15 Install Visual Studio Code
9:22 Install Android Studio
11:15 Install Flutter SDK
15:32 Add Flutter to Path
17:35 Finish Xcode setup
19:18 Setup iOS simulator
20:22 Install Cocoapods using Homebrew
23:17 Flutter Doctor check
23:42 Install Android SDK
25:10 Outro


OFFICIAL DOCUMENTATION
flutter docs - get started - macOS - iOS
https://docs.flutter.dev/

_________________________________________________________


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
to change to zsh - https://github.com/ohmyzsh/ohmyzsh/wi...

Directory
~/development

Install Xcode
app store - search for and install Xcode Developer Tools by Apple
configure command line tools to use installed Xcode
sudo sh -c 'xcode-select -s /Applications/Xcode.app/Contents/Developer && xcodebuild -runFirstLaunch'
signing the license - sudo xcodebuild -license

Homebrew for package management
website - https://brew.sh/
shell command - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Hom...)"

Git for source code management – included with Xcode
else use https://formulae.brew.sh/formula/git

CocoaPods for compiling plugins
shell command - sudo gem install cocoapods
https://cocoapods.org/

Code editing
Visual Studio Code - https://code.visualstudio.com/
Android Studio (optional, recommended) - https://developer.android.com/studio/...

_________________________________________________________


Flutter SDK Installation

Download SDK and add to PATH
Download the stable version from - https://docs.flutter.dev/release/archive
unzip ~/Downloads/flutter_macos_arm64_3.24.0-stable.zip -d ~/development/
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


Смотрите видео Flutter Complete MacBook Setup 2024 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь theailanguage 18 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 58 раз и оно понравилось 1 людям.