推荐用sudo gem install cocoapods安装Cocoapods,但我已经习惯了使用Homebrew,并在其他地方看到人们使用brew install cocoapods安装Cocoapods当我尝试用Homebrew安装它时,我会收到以下警告:
Warning: Treating cocoapods as a formula.For the cask, use homebrew/cask/cocoapods
: Cloning spec repo `trunk` from `https://cdn.cocoapods.orgUnable to add a source with url `https://cdn.cocoapods.org/` named `trunk`.You can try adding it manually in `/Users/flameswitcher