반응형
현재 프로젝트에서 Info.plist는 루트 폴더가 아닌 Supporting이라는 폴더안에 들어가 있다.

만약 파일정리를 하려고 Info.plist 위치를 바꾸고 싶을 때, 단순히 옮기기만 하면 아래와 같은 오류가 난다.

'Build input file cannot be found: '/Users/jeong-geunho/Codes/Swift/CalculatorClone/CalculatorClone/Info.plist'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?'
해결방법
해결방법은 간단하다.
프로젝트 TARGETS -> Build Settings로 간다음
검색창에 Info.plist를 검색하여 아래 사진과 같이 Info.plist File 값을 현재 폴더 위치에 맞게 바꿔주면 된다.

반응형
'DEV' 카테고리의 다른 글
| [iOS/Swift] UITableView, UICollectionVIew (0) | 2025.03.04 |
|---|---|
| [iOS/Swift] 스파르타 iOS 마스터 트랙 본 캠프 1일차 (0) | 2025.03.03 |
| [iOS/Swift] Realm의 장단점과 문법 (2) | 2025.03.01 |
| [iOS/Swift] clipsToBounds, Bounds와 Frame (0) | 2025.02.28 |
| [iOS/Swift] 메모 앱 MVVM으로 리팩토링 (0) | 2025.02.27 |