ios개발/xcode 빌드 시스템
<xcode 빌드 에러> it may have been damaged or it may have triggered a bug in the Swift compiler when it was produced
studying develop
2020. 11. 8. 13:50
Failed to build module 'ㅎㅎ임의 라이브러리' from its module interface; it may have been damaged or it may have triggered a bug in the Swift compiler when it was produced
위와 같은 에러가 떴다.
근데 이상한게 simulator에서는 잘 되는데 device에서는 잘 안되더라.. ㅠ 왜그런걸까.
처음에 이렇게 생각했다.
음 ? 해당 모듈의 스위프트 버전과 내 xcode 버전이 다른게 문젠가?? -> 이게 뭔 소린지도 모르겠지만
그래서 xcode 버전도 바꾸고, ios 버전도 업뎃해보고 그랬는데...
사실 원인은 pod --version으로 확인했다. 팟 버전이 문제였다.
sudo gem install cocoapods으로
1.9.0 에서 1.10.0으로 업뎃했다 ㅎㅎ