Could not find 'json' (>= 1.5.1) among 46 total gem(s) (Gem::MissingSpecError)

29 Views Asked by At

iam unable to install the pods in this project cd ios pod install this error shows Please help if you have any fix

enter image description here

pods should install

1

There are 1 best solutions below

0
Suo On

This is because the ruby path is not set correctly in the M1 chip environment and can be resolved by the following steps

1、rvm list
2、rvm use ruby-3.0.0 --default
3、pod install 

Solve the problem

enter image description here