I was trying to update the existing pods with the pod install command, but it takes forever to run.
pod install
The verbose mode shows it was stuck at the following
I found another way to solve the problem
pod install --verbose --no-repo-update
it works for me.