Podfile配置

低版本的cocoa pods在编写Podfile文件时这样写就可以了

platform :iOS, '8.0'

pod 'AFNetworking'

高版本的cocoa pods在编写Podfile文件必须这样写

platform :ios, '8.0'

target "targetName" do

pod 'MyLayout', '~> 1.4.2'

end

按i直接进入编辑模式

posted @ 2017-08-31 15:43  do+better  阅读(149)  评论(0编辑  收藏  举报