佚名通过本文主要向大家介绍了天增岁月人增寿,天增岁月人增寿的下联,对联天增岁月人增寿,天增岁月人增寿横批,天增岁月娘增寿等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题:天增岁月人增寿 CocoaPods 101版本增加的新写法?
描述:
解决方案1:
描述:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, "8.0"
pod "SSKeychain"
#下面这两句话是什么意思? 以前的CocoaPods并没有这两句话
target :<#TargetName#>Tests, :exclusive => true do
# pod 'Kiwi'
end
问题已经写在上面啦,先谢谢小伙伴们的回答!谢谢!
解决方案1:
印象中 CocoaPods 早就推荐这样子写了,感觉也没什么好研究的,反正这样子就能很好的区分 target 了,比如项目名称叫 Zootopia 就这样子写
source 'https://github.com/CocoaPods/Specs.git'
inhibit_all_warnings!
platform:ios,'8.0'
target 'Zootopia' do
pod 'UITableView+FDTemplateLayoutCell'
pod 'Masonry'
pod 'DateTools'
pod 'SDWebImage'
pod 'Reveal-iOS-SDK', :configurations => ['Debug']
end