iOS

M1 pod install 오류

kkimin 2021. 6. 19. 19:14

* M1을 사용하다가 신기한 일이 발생

아래와 같이 신기한 에러가 출력 된다

인터넷에 위의 오류를 쳐보니 정말 M1이라 문제가 발생한다고 하질 않는가...?

(검색은 :

https://github.com/CocoaPods/CocoaPods/search?q=dlopen%28%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.3%2Flib%2Fffi_c.bundle%2C+0x0009%29%3A+missing+compatible+arch+in+%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.3%2Flib%2Fffi_c.bundle+-+%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.15.3%2Flib%2Fffi_c.bundle&type=Issues 이걸로 했다)

결론

arch -x86_64 sudo gem install ffi
arch -x86_64 pod install  

위처럼 입력했더니 되었다...덜덜ㅠ

728x90