[iTerm 오류] Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5

beeeen:D·2023년 11월 24일

새로운 iOS 프로젝트를 만들고 cocoapods을 적용하는 과정에 새로운 오류를 만남 😅


명령어 및 오류 메시지

> pod init
> Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5


해결 방법

오류 메시지에 " Try: ~" 부분에 나온대로 작성해봤습니다.
gem pristine ffi
라고 작성했는데 안 됨 ㅜ.ㅜ

그래서 검색해보니 다른 분이 앞에 sudo를 붙여서 하신 거 보고 바로 해봤듬

> sudo gem pristine ffi
> Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Restoring gems to pristine condition...
Building native extensions. This could take a while...
Restored ffi-1.15.5

이렇게 하고나니 pod install이 잘 돌아가긴 했는데
위 명령이 무슨 의미인지 더 찾아봐야 할 것 같습니다 😊

> pod install
> Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete!
profile
Appel Developer Academy @ Postech | iOS developer 👩🏻‍💻

1개의 댓글

comment-user-thumbnail
2025년 3월 18일

sudo는 수퍼유저 권한으로 명령어를 실행하는 겁니다~

답글 달기