[Solved] Searching for inspections failed: undefined method `map’ for nil:NilClass (Flutter iOS release error)

2022/07/30 23:04

Error

Searching for inspections failed: undefined method `map’ for nil:NilClass
……….
Error running pod install
Error launching application on iPhone SE (3rd generation).

Solution

sudo rm -rf ~/.cocoapods/repos

After you run this command, you may encounter a new error:

Error: To set up CocoaPods for ARM macOS, run:
sudo gem uninstall ffi && sudo gem install ffi — –enable-libffi-alloc

In this case, you can just run the promped command.

 

声明:未经允许不得进行商业转载,非商业转载请注明出处和链接。

Leave a Reply

Back to top