Flutter 개발 환경 셋팅 및 초기 가이드
https://docs.flutter.dev/release/archive?tab=windows
노트북 스펙 : MacBook Pro Apple M1

$ open ~/.zshrc 또는
$ open ~/.bash_profile
#Flutter
export PATH="$PATH:/Users/${본인 Flutter SDK 경로}"
-> 예시: export PATH="$PATH:/Users/kkjang/flutter/bin"
환경변수 입력 완료 후 저장하고 닫기
$ source ~/.zshrc 또는
$ source ~/.bash_profile
> $ flutter doctor 실행
[v] 이미 Flutter 를 실행하기에 조건 충분합니다.
[x] Android Studio 에러
Android Studio 설치안한 것이므로 Android Studio 설치 !
[x] Android license status unknown 에러
그 밑에 나오는 flutter doctor --android-licenses 이걸 터미널에 입력하고 모두 동의하면 끝 !
[x] cmdline-tools component is missing 에러
위에서 Android Studio 에서 SDK Manager 설치 과정중 일부 설치가 누락된 것입니다.
[x] Chrome 에러
크롬 브라우저가 없으므로 크롬을 설치해주세요.
[x] xcode, cocoapods 에러
iOS 개발에 필요한 것이며, xcode 및 cocoapds 설치를 진행해야합니다.

다른 IDE를 사용하고 싶어도 일단 Android Studio 셋팅은 해놓고 다른 에디터 사용해야 합니다.


$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
$ sudo xcodebuild -runFirstLaunch
$ sudo xcodebuild -license
By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel]
$ sudo gem install cocoapods



참고 & Docs
https://docs.flutter.dev/release/archive?tab=windows
https://codingapple.com/unit/flutter-install-on-windows-and-mac/