您的位置:首页 > 其它

cocoapods的使用

2016-07-27 14:34 381 查看
最新:
platform :ios, “7.0”
target “Test’” do
    pod ‘”AFNetworking”, “~> 3.1.0”
end

eg
platform :ios
pod 'JSONKit',       '~> 1.4'
pod 'AFNetworking',  '~> 2.0’

eg
platform :ios  
pod 'JSONKit',       '~> 1.4'  
pod 'Reachability',  '~> 3.0.0'  
pod 'ASIHTTPRequest'  
pod 'RegexKitLite'

eg:
# platform :ios, '7.0'
target 'Test' do
    pod 'AFNetworking'
end

pod install 换成pod install --verbose --no-repo-update这个命令,前面的命令被墙了 

pod指令 :
target "Apptarget" do
    pod "Reachability", "~> 3.0.0"
    pod "SBJson", "~> 4.0.0"
    pod "AFNetworking', '~> 2.0"
end
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  cocoapods