cocopods问题

pod install

报错


sudo gem install cocoapods 

CocoaPods was not able to update the `master` repo. If this is an unexpected issue and persists you can inspect it running `pod repo update --verbose`

在使用sudo gem update cocoapods

 和pod repo update


sudo gem install cocoapods

 You don't have write permissions 没有权限的问题

sudo gem install cocoapods -n/usr/local/bin fir-cli

开放权限成功后


你可能感兴趣的:(cocopods问题)