[iOS/swift] Build input file cannot be found: 오류해결

2022. 11. 4. 20:17·IOS - Swift
반응형

Build input file cannot be found: PATH/TO/FILE/FILE.swift

위와같이 경로 오류가 나는경우 해결방법입니다.

이유는 모르겟는데 갑작스럽게 파일들이 전부 튕깁니다.

 

그럴때는 프로젝트 네비게이션(맨위 target) 로 이동하고 build phases 로 이동합니다.

그러면 지금 빨간색으로 잃어버린 파일들이 Compile Source에 뜨는데 여기서 파일들을 - 로 삭제해주면 됩니다.

그러고 + 버튼을 눌러서 파일을 다시 삽입하면 정상작동됩니다.

반응형

'IOS - Swift' 카테고리의 다른 글

[ios/swift] 컬렉션뷰 가로스크롤(storyboard)  (0) 2022.12.25
[iOS/Swift] Tabbar 숨기기(가리기) -storyboard  (0) 2022.11.22
[ios/xcode] StoryBoard Action Segue 종류  (0) 2022.11.01
Mac 에러해결기: (xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH)  (0) 2022.09.25
Mac 에러 해결기 (xcrun: error: invalid active developer path)  (0) 2022.09.25
'IOS - Swift' 카테고리의 다른 글
  • [ios/swift] 컬렉션뷰 가로스크롤(storyboard)
  • [iOS/Swift] Tabbar 숨기기(가리기) -storyboard
  • [ios/xcode] StoryBoard Action Segue 종류
  • Mac 에러해결기: (xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH)
게게겍
게게겍
열심히 공부해보고 있습니다
  • 게게겍
    코더라도 되어보자
    게게겍
  • 전체
    오늘
    어제
    • 분류 전체보기
      • IOS - Swift
        • UIkit
        • SwiftUI
        • Combine
      • 혼자 공부한거
      • inflearn
      • 기타
      • 일기
      • firebase
      • CS
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    private
    UIViewRepresentable
    #GDSC #캐치카페 #대관 # 대학생 #취준생 #진학사
    UIHostingController
    subscription
    viewBuilder
    UICollectionView Custom Cell with Horizontal Scroll
    ios
    flatMap
    SwiftUI
    uikit
    trymap
    fileprivate
    swift openapigenerator
    replacemap
    compactMap
    map
    combine
    scan
    open
    launchscreen
    Swift
    INTERNAL
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.0
게게겍
[iOS/swift] Build input file cannot be found: 오류해결
상단으로

티스토리툴바