[Flutter] Swift Compiler Error (Xcode): Build input file cannot be found: '파일의 경로' 에러 해결하기

myming·2023년 11월 24일
0

lutter clean, flutter pub get 이후, pod install 도중 UUID 나오면서 안될 경우 Pods, podfile.lock 삭제 후 다시 pod install 실행

이 후 나오는 문구

Could not build the precompiled application for the device.

Swift Compiler Error (Xcode): Build input file cannot be found: '파일의 경로'

다시 flutter clean, flutter pub get 이후 pod install && sh pod_update.sh 실행

똑같은 오류 발생

해결 방법

플러터 내부 파일에는 있는데 XCode에서 Build Phrases 안에 등록이 안되어 있어서 찾지 못하는 문제, 해당 파일 경로를 그대로 XCode에서 따라 들어간 후에 해당 파일을 마우스 오른쪽 버튼으로 클릭 후 “Add files to Runner를 통해 등록해주면 해결이 됨

profile
플러터로 개발하는걸 가장 선호합니다.

0개의 댓글