Notice
Recent Posts
Recent Comments
Link
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Archives
Today
Total
관리 메뉴

3초 금붕어

MacOS Flutter 세팅하기 본문

프로젝트

MacOS Flutter 세팅하기

휘발성 메모리 2024. 6. 14. 13:24

-목표

공부 목적의 앱의 설치부터 배포

 

-환경

Apple Silicon MacOS

 

Flutter를 써보기 위해 홈페이지에 들어가보니 로제타를 써야한다고 한다

다음 명령어를 zsh셀에서 실행 해주자

sudo softwareupdate --install-rosetta --agree-to-license

 

 

본격 SDK 설치하기

 

 

내 설치 경로는 

/Users/adc21/project/development/flutter

 

 

App Store를 통해 Xcode 설치

Xcode 설치 후 명령어

sudo sh -c 'xcode-select -s /Applications/Xcode.app/Contents/Developer && xcodebuild -runFirstLaunch'
sudo xcodebuild -license

 

iOS 시뮬레이터 구성(가상 장치)

xcodebuild -downloadPlatform iOS
open -a Simulator

 

CocoaPod 설치

sudo gem install cocoapods

 

zshenv에 환경변수 추가

export PATH=$HOME/.gem/bin:$PATH

 

추가 설치

Visual Studio Code

Android Studio

 

최종 확인

flutter doctor
[13:11:42]adc21@adc21:~$flutter doctor -v
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale ko-KR)
    • Flutter version 3.22.2 on channel stable at /Users/adc21/project/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (8일 전), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/adc21/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] IntelliJ IDEA Community Edition (version 2024.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.90.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 125.0.6422.176

[✓] Network resources
    • All expected network resources are available.

• No issues found!

 

 

참고 문헌

Flutter 시작하기 : https://docs.flutter.dev/get-started/install

CocoaPods 설치 : https://cocoapods.org/

Android Studio 설치 : https://developer.android.com/studio/?gclid=Cj0KCQiAjJOQBhCkARIsAEKMtO3zEhdK4_I0CEZic3UH4dl-9gVXuHFR9dCl3TOHKjmv3xWLU3UxfhYaApfAEALw_wcB&gclsrc=aw.ds&hl=ko

 

 

'프로젝트' 카테고리의 다른 글

유튜브 나중에 보기 재생목록 정리 앱(개발중)  (0) 2024.06.04