IOS

install xcode

open xcode -> preferences -> locations -> command line tools 선택

cocoapods install

for macos only

brew install cocoapods

# flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.38.6, on macOS 15.5 24F74 darwin-x64, locale ko-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[!] Xcode - develop for iOS and macOS (Xcode 16.4)
     Unable to get list of installed Simulator runtimes.
[✓] Chrome - develop for the web
[✓] Connected device (2 available)
    ! Error: Browsing on the local area network for brian kim의 iPhone. Ensure the device is unlocked and attached with a cable or associated
      with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

! Doctor found issues in 1 category.

대부분 수정됫다 이제 ios용 시뮬레이터 런타임 문제만 남음

ios simulator runtime fix

alt text

click "GET"

왠지 자동 다운로드가 안된다.

수동으로 처리하자.

https://developer.apple.com/download

iOS_18_Simulator_Runtime.dmg 다운로드 받는다.

시뮬레이터 런타임 설치 확인

open xcode -> setting -> components

alt text

설치된것을 알수 있다.

잘된건가?

이제 ios 시뮬레이터를 실행해보자

flutter simulator

Last updated

Was this helpful?