執(zhí)行
sudo gem install cocoa pods
出現(xiàn)錯(cuò)誤:
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/xcodeproj
解決方式:
更新gem版本后重新按照對(duì)應(yīng)路徑安裝cocoa pods
sudo gem install -n /usr/local/bin cocoa pods
并在Xcode中修改對(duì)應(yīng)路徑如下: