iOS开发

创建Podfile:macOS Sierra系统下Podfile

2017-05-04  本文已影响8人  iOS技术小卒

官方网站首页推荐写法:

官网截图

例子:

这是我新建的Podfile,文件内容如下:

target ’try’do

# ignoring warning from pods

inhibit_all_warnings!

# 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!

pod 'YYKit'

pod 'Masonry'

pod 'ZFPlayer'

pod 'AFNetworking'

pod 'ReactiveCocoa', '~> 2.0'

pod 'FrameAccessor'

pod 'VBFPopFlatButton'

pod 'OpenShare', '~> 0.0'

pod 'MBProgressHUD', '~> 0.9.1'

pod 'UzysAssetsPickerController'

pod 'DACircularProgress'

pod 'IDMPhotoBrowser'

pod 'JTSImageViewController'

pod 'FBMemoryProfiler'

end

“#”号键开头的一些语句,是一些第三方库的除错写法,建议都加上

pod install后完美运行:

运行完美
上一篇 下一篇

猜你喜欢

热点阅读