gem sources --remove
https://rubygems.org/
gem sources -a
http://ruby.taobao.org/
gem sources -l
sudo gem update --system
sudo gem install cocoapods
pod setup
sudo vim Podfile
pod install
➜ joke pod install
Analyzing dependencies
Downloading dependencies
Installing Toast (2.2)
Generating Pods project
Integrating client project
[!] The target `joke [Debug]` overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig'.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The target `joke [Debug - Release]` overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig'.
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.