[CocoaPods error]: Searching for inspections failed: undefined method `map' for nil:NilClass"

Viewed 1823

I have a CocoaPods error on my Mac M1. the following error from Cocoapods:Searching for inspections failed: undefined method `map' for nil:NilClass".

2 Answers

I solve this issue on my Mac M1 by typing this in the terminal:

sudo arch -x86_64 gem install ffi

Solve this by run this command

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