CocoaPods使用

来源:互联网 发布:mac nice to meet 停产 编辑:程序博客网 时间:2024/05/22 14:41

http://blog.csdn.net/showhilllee/article/details/38398119/

IOS8以后podfile需要更改一些写法

use_frameworks!
target 'Swift_dispatch' do  
platform :ios, '8.0'
pod 'SwiftyJSON', '~> 2.3'
pod 'Alamofire', '~> 3.0.0'
end

切换ruby版本,用到RVM命令工具,RVM是Ruby Version Manager的缩写

切换命令:rvm use 2.2.2 --default

0 0