pod Command Summary
# Create default podfile $ pod init
# first time using the installation framework $ pod Install
# Install frame, do not update local index, fast $ pod Install--no-repo-update
# upgrade, add, delete frame, or frame not good with pod update in the future
# Update frame, do not update local index, fast $ pod Update--no-repo-update
# Search Framework $ pod Search XXX # help $ pod--help
Pod File Format Description
# minimum Supported iOS version Platform:ios, ' 8.0 '
# The Swift project needs to convert the framework to frameworks to use use_frameworks!
# Frame list pod ' afnetworking '
Pod Installation
# Add source $ sudo gem sources-a https://ruby.taobao.org/
# Delete Source $ sudo gem sources-r https://rubygems.org/
# installation of sudo gem install cocoapods
# Setup $ pod Setup
Gem Common Commands
# View gem source $ gem sources–l
# gem itself upgrade $ sudo gem update--system
# View version $ gem--version # Clear expired gem $ sudo gem cleanup
# Install package $ sudo gem install cocoapods
# Delete Package $ gem Uninstall cocoapods
# Update package $ sudo gem update
# List of locally installed packages $ gem list
Pods often use commands