1.CocoaPods 版本旧 The version of CocoaPods used to generate the lockfile is higher that the one of the current executable. Incompatibility issues might arise. sudo gem update cocoapods2.Operation not permitted - /usr/bin/xcodeprojThis is the solution when you are receiving the "Operation not permitted" error. $ mkdir -p $HOME/Software/ruby$ export GEM_HOME=$HOME/Software/ruby$ gem install cocoapods[...]1 gem installed$ export PATH=$PATHHOME/Software/ruby/bin$ pod --version0.37.2
|