본문 바로가기
먹고살자

Flutter iOS 설정

by Na-m. 2023. 5. 31.

1.  Install Xcode

mac의 App Store에서 다운로드 후 아래 명령어 실행 및 라이선스 서명 확인

$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
$ sudo xcodebuild -runFirstLaunch
$ sudo xcodebuild -license

 

2.  Set up the iOS simulator

$ open -a Simulator

모델 변경 : File > Open Simulator

 

3. Create and run a simple Flutter app

~/development 하위에 Flutter의 시작 앱이 포함된 my_app 디렉토리 생성

$ flutter create my_app
$ cd my_app

 

시뮬레이터가 실행 된 상태에서 커멘드 입력

$ flutter run

 

4. Deploy to iOS devices

추후 작성

 


참고. macOS Flutter 설치 가이드

https://docs.flutter.dev/get-started/install/macos#ios-setup

 

macOS install

How to install on macOS.

docs.flutter.dev