'When trying to installing Pods I get the error "with_indifferent_access"

When I made pod install on terminal this problem appeared.

cocoapods-core-1.7.2/lib/cocoapods-core/source/metadata.rb:15:in initialize': undefined methodwith_indifferent_access' for false:FalseClass (NoMethodError)



Solution 1:[1]

rm -rf ~/.cocoapods/repos/trunk/

Try this command.

Solution 2:[2]

Thanks it really worked well, Executing the command

rm -rf ~/.cocoapods/repos/trunk/

and running

pod install

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 shrikanth02