下載某個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