Check the version of cocoapods correctly