- 用 Pod 安装 第三方库:
1. cd /Users/edy/Documents/WorkSpace/TyeProject
2. pod init
3. pod install
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
- 创建项目:

企业微信截图_21a35c90-6a99-4521-b17b-8ad4983c2c5f.png

企业微信截图_2a86ca3c-c83e-47ba-a9c0-55ff32996065.png

企业微信截图_bd64341b-3cf3-41b5-b9d2-342ece30e0c3.png

企业微信截图_5e728773-a374-48a8-87c4-a39210128bea.png

企业微信截图_ddea161f-8dc9-4980-b151-083a8206418c.png
- 用 Pod 安装 第三方库:
1. cd /Users/edy/Documents/WorkSpace/TyeProject
2. pod init
3. pod install

企业微信截图_1cf025ca-de69-4cca-92cf-24fcfeab96ec.png

企业微信截图_e7b16929-44d3-4ac0-aa2c-9daad1e8d71d.png