하지만 협업으로 개발할 때 서로 다른 리소스나 프레임워크를 추가하거나 빌드 설정을 바꾸면 계속해서 충돌을 일으킨다. 계속 merge를 해줘야 하는데 정말 매우 귀찮다.
이를 해결하기 위해서는 .gitattributes 파일을 만들고 project.pbxproj 파일을 바이너리처럼 인식하도록 하는 것이다.
add .gitattributes file and add one line :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.pbxproj binary merge=union |
댓글 없음:
댓글 쓰기