Reply to issue with cocoapods installation I was getting this exact error mentioned. In my case, the MacOs update for BigSur + Monterey update, solved the problem like a charm. After Monterey got installed I could pod install normally with no more errors. Developer Tools & Services Xcode Feb ’22