在Podfile中
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!
target'LearnJianShuSwift'do //LearnJianShuSwift工程文件名字
pod'SnapKit','~> 0.30.0.beta2’ //库的版本
end