Reason: This is because your version of Xcode does not match the version of cocoapods. You need to update your cocoapods
Solution: enter the command $gem install cocoapods -- pre
Then execute pod install again.
Reason: This is because your version of Xcode does not match the version of cocoapods. You need to update your cocoapods
Solution: enter the command $gem install cocoapods -- pre
Then execute pod install again.