[ 작업 환경 ]
Mac Apple M2
MacOS 14.5
[ 문제 상황 ]
- iOS Device로 빌드 시도시 오류 발생
Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
lib/main.dart:1
Xcode build done. 1.9s
Failed to build iOS app
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier:
{ id:B13E6A21-81EE-4A95-AF64-F5A867EAB7CB }
Ineligible destinations for the "Runner" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 17.5 is not installed. To use with Xcode, first download and install the platform }
════════════════════════════════════════════════════════════════════════════════
iOS 17.5 is not installed. To download and install the platform, open
Xcode, select Xcode > Settings > Platforms, and click the GET button for the
required platform.
For more information, please visit:
https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
════════════════════════════════════════════════════════════════════════════════
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.
[ 문제 원인 ]
iOS 17.5 버전이 설치되지않아 빌드 불가
[ 해결 방법 ]
안내대로 Xcode 실행 후 iOS 17.5 Xcode에서 설치
- XCode 실행 → XCode → Settings → Platforms → iOS 17.5 설치
[ 해결 완료 ]