pod install을 해줬는데 밑과같은 에러가 나면서 인스톨이 안되더라고요..
[!] Oh no, an error occurred.
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
Searching for inspections failed: undefined method `map' for nil:NilClass
코코아팟 인스톨이 잘되다가 갑자기 안돼서 찾아보니까 애플 실리콘칩이랑 코코아팟의 호환성 문제라고하네요. 저는 현재 apple m1사용하고 있는데 밑과 같이 해주니까 해결되었습니다.
해결법
1) sudo arch -x86_64 gem install ffi
2) arch -x86_64 pod install