下载某个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 (执行这个命令后会花费比较长的时间,耐心等待吧)
结果如图:
![](https://img.haomeiwen.com/i5033835/e283c7c7e4ef0c76.jpeg)
于是有执行了 :sudo gem install cocoapods 的命令(需要执行电脑的开机密码)看图:
![](https://img.haomeiwen.com/i5033835/3f32806404c67ddc.jpeg)
网友评论