티스토리 뷰
iOS
[iOS] Build input file cannot be found: '/file path'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? 에러
_dodo 2023. 3. 28. 21:16에러 메세지
Build input file cannot be found: '/file path'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
해당 에러는 프로젝트 파일이 특정 파일을 찾지 못해 발생하는 오류입니다.
제 경우에는 Git에서 머지하는 과정에서 프로젝트 파일이 충돌했는데 이걸 해결하면서 파일이 손실된 것 같습니다.
일단 중요한 파일은 아니라 다음과 같이 해결했습니다.
해결방안
Target > Build Phases > Compile Sources

여기서 소스파일들을 살펴보니

문제를 일으켰던 파일의 아이콘이 흐릿하네요.
Delete키를 이용해 삭제해주었더니 정상적으로 빌드됩니다.
감사합니다.
'iOS' 카테고리의 다른 글
[iOS] LaunchScreen 로고 비율 깨짐 문제 (0) | 2023.03.29 |
---|---|
[iOS] HealthKit 데이터 구조 정리 (DataType/Sample/Identifier) (0) | 2023.03.29 |
[iOS] HealthKit으로 수면데이터 가져오기 (0) | 2023.03.29 |
[iOS] iOS에 CSS 방식 적용하기 - FlexLayout (2) | 2022.12.09 |
[Swift][Error] App Transport Security has blocked a cleartext HTTP connection (0) | 2022.09.01 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- design pattern
- ios
- Flux
- coordinator pattern
- GetX
- 소프트웨어마에스트로
- 리액티브 프로그래밍
- RX
- 아키텍쳐 패턴
- programmers
- SWM
- MVVM
- reactive programming
- Architecture Pattern
- TestCode
- combine
- SwiftUI
- Bloking/Non-bloking
- 프로그래머스
- 노션
- 코디네이터 패턴
- notion
- 비동기/동기
- MVC
- healthkit
- DocC
- Flutter
- swift
- Swift Concurrency
- MVI
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함