Pods often use commands

Source: Internet
Author: User
Tags install cocoapods

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.