The version of CocoaPods 版本升级

下载某个ios源码后,在终端进入目录执行 pod install:
出现以下的警告⚠️:
The version of CocoaPods used to generate the lockfile (1.5.2) is higher than the version of the current executable (1.4.0). Incompatibility issues may arise.

刚开始以为是执行以下命令 就好:
$ pod setup (执行这个命令后会花费比较长的时间,耐心等待吧)
结果如图:


WechatIMG20.jpeg

于是有执行了 :sudo gem install cocoapods 的命令(需要执行电脑的开机密码)看图:


WechatIMG21.jpeg

你可能感兴趣的:(The version of CocoaPods 版本升级)