- 用 Pod 安装 第三方库:
1. cd /Users/edy/Documents/WorkSpace/TyeProject
2. pod init
3. pod install
4. pod install --repo-update
Podfile 文件:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'TyeProject' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for TyeProject
# source 'https://github.com/CocoaPods/Specs.git'
pod 'PKHUD', '~> 5.0'
pod 'Qiniu', '~> 7.2'
pod 'Toaster'
end
- 创建项目:
- 用 Pod 安装 第三方库:
1. cd /Users/edy/Documents/WorkSpace/TyeProject
2. pod init
3. pod install