16/08/05 Fri
cocoapods建立podfile(配置文件)
-
低版本的cocoa pods在编写Podfile文件时这样写就可以了
platform :iOS, '8.0'
pod 'AFNetworking'
-
高版本的cocoa pods在编写Podfile文件必须这样写
platform :ios, '8.0'
target "targetName" do
pod 'AFNetworking'
end
低版本的cocoa pods在编写Podfile文件时这样写就可以了
platform :iOS, '8.0'
pod 'AFNetworking'
高版本的cocoa pods在编写Podfile文件必须这样写
platform :ios, '8.0'
target "targetName" do
pod 'AFNetworking'
end
本文标题:cocoapods建立podfile(配置文件)
本文链接:https://www.haomeiwen.com/subject/ubuhsttx.html
网友评论