- shell script Select all
# update gem
sudo gem update --system
# Operation not permitted error
# yes do it twice
sudo gem update --system
# install cocoapods
sudo gem install -n /usr/local/bin cocoapods
# install dependencies for project
cd ~/MyProject
pod install
# if re-clone CocoaPods repo spec
cd ~/.cocoapods/repos/
rm -fr master/
git clone --depth 1 https://github.com/CocoaPods/Specs.git master
No comments:
Post a Comment