cozzin
코찐 기술 블로그
cozzin
전체 방문자
오늘
어제
  • 분류 전체보기
    • Kotlin
    • 백엔드
    • iOS
      • Swift
      • SwiftUI
      • Combine
      • Architecture
    • 개발환경
    • 세미나
    • 생각정리
    • 스터디
    • CS
      • Refactoring
      • OS

블로그 메뉴

  • 홈
  • 태그
  • 방명록
  • LinkedIn
  • 강의

공지사항

인기 글

태그

  • darkmode
  • 리팩토링
  • WWDC21
  • Warning
  • WWDC
  • XCode
  • CS
  • 테스트
  • os
  • multicast
  • slide-over
  • Combine
  • 운영체제
  • Swift
  • SwiftUI
  • ios
  • Ribs
  • 컴퓨터공학
  • 디자인패턴
  • 워닝제거

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
cozzin

코찐 기술 블로그

워닝 제거하기: Skipping duplicate build file in Compile Sources build phase
iOS

워닝 제거하기: Skipping duplicate build file in Compile Sources build phase

2021. 1. 29. 17:57
반응형

이번에는 이런 워닝을 들고 왔습니다.

이건 뭘까요?

 

그냥 파일명으로 검색해보면 하나 밖에 없습니다.

중복되는 파일은 없는데요.

 

sarunw.com/posts/how-to-fix-duplicate-references-warning/

 

How to fix "Skipping duplicate build file" warning in Xcode | Sarunw

There might be several reasons that cause this error. Here are the solutions that fix it for me.

sarunw.com

 

프로젝트 > Build Phases 로 들어가서 검색해보니 Compile Sources에 파일이 두개 등장합니다.

과감히 삭제해버립니다.

 

근데 그러고 빌드하면 파일을 찾을 수 없다고 하네요...?

그러면 Compile Source 아래의 + 버튼을 눌러서 파일을 다시 추가해줍니다.

 

그리고나면 파일이 1개만 추가되어 있는것을 볼 수 있습니다.

워닝 해결!

반응형
저작자표시 (새창열림)

'iOS' 카테고리의 다른 글

Could not insert new outlet connection 이슈 대응  (0) 2021.02.04
워닝 제거하기: ld: warning: method '{methodName}' in category from {file build path}.o conflicts with same method from another category  (0) 2021.01.29
워닝 제거하기: Implicit import of bridging header '{YourApp}-Bridging-Header.h' via module '{YourApp}' is deprecated and will be removed in a later version of Swift  (0) 2021.01.29
[iOS] grouped style tableView에서 위아래 여백 제거하기  (0) 2021.01.28
[iOS] 이슈 해결: CloudKit integration does not support unique constraints  (0) 2021.01.23
    'iOS' 카테고리의 다른 글
    • Could not insert new outlet connection 이슈 대응
    • 워닝 제거하기: ld: warning: method '{methodName}' in category from {file build path}.o conflicts with same method from another category
    • 워닝 제거하기: Implicit import of bridging header '{YourApp}-Bridging-Header.h' via module '{YourApp}' is deprecated and will be removed in a later version of Swift
    • [iOS] grouped style tableView에서 위아래 여백 제거하기
    cozzin
    cozzin
    Software Engineer

    티스토리툴바