Warning

    워닝제거: Plain Style unsupported in a Navigation Item

    Plain Style unsupported in a Navigation Item 이번에는 스토리보드 > ViewController > Bar Button Item 에서 Style이 Plain으로 되어 있는게 문제인가 봅니다. 이걸 Bordered로 변경하면 문제가 해결되는 것으로 보입니다. 참고: linux-studying.tistory.com/10?category=410369

    워닝 제거하기: ld: warning: method '{methodName}' in category from {file build path}.o conflicts with same method from another category

    이번에도 워닝 제거하기 시리즈인데요. 이런 에러를 만났습니다. ld: warning: method '{methodName}' in category from {file build path}.o conflicts with same method from another category objective-c에서 카테고리를 통해 method를 확장한 케이스 입니다. 두개의 카테고리에서 동일한 이름을 쓰는 method를 발견할 수 있었습니다. 조금 이상한 것은 다른 클래스명을 가지고 있었는데도 워닝이 뜨고 있는 점 입니다. 알고보니 해당 method는 팩토리 메소드로 사용하고 있었고 카테고리를 구현하는 .m 파일 안에서 중복된 2개의 구현부가 있었습니다. 예를 들어보면 이런식 입니다. // MyClass+Catego..

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

    이번에는 이런 워닝을 들고 왔습니다. 이건 뭘까요? 그냥 파일명으로 검색해보면 하나 밖에 없습니다. 중복되는 파일은 없는데요. 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에 파일이 두개 등장합니다. 과감히 삭제해버립니다. 근데 그러고 빌드하면 파일을..

    워닝 제거하기: Implicit import of bridging header '{YourApp}-Bridging-Header.h' via module '{YourApp}' is deprecated and will be removed in a later version of Swift

    안녕하세요 코찐입니다. 오늘은 다음과 같은 에러를 만나서 해결하는 과정을 기록해봅니다. Implicit import of bridging header '{AppName}-Bridging-Header.h' via module '{AppName}' is deprecated and will be removed in a later version of Swift 원래는 Briding-Header 를 암시적으로 import 해주고 있었는데, 이제는 자동적으로 브릿징 헤더를 import 해주지 않겠다는 워닝입니다. 워닝이 뜨는 테스트 파일이 있고, 안뜨는 테스트 파일도 있습니다. 1. 언제 워닝이 발생할까? 그럼 이번 테스트 파일에서는 왜 워닝으로 저 내용을 알려줄까요? 알고보면 현재 테스트 내용에서 objcecti..