1悔叽、終端中,cd到項(xiàng)目總目錄(注意:包含.xcodeproj爵嗅、xxxxTest的那個(gè)總目錄)
cd /Users/wen/Desktop/yxx_szns/szns_0920_CocoaPods
2骄蝇、建立Podfile(配置文件)
touch Podfile
open Podfile
3、編輯Podfile
vi Podfile
在Podfile文件中輸入i操骡,開始插入編輯
編輯完九火,按esc,shift+: 册招,退出插入編輯模式
按wq岔激,enter , 保存、退出