美文网首页
cocospods 多个target 的写法

cocospods 多个target 的写法

作者: 可爱的33 | 来源:发表于2018-01-26 14:26 被阅读30次

`# Podfile

platform :ios,'8.0'

source 'https://github.com/CocoaPods/Specs.git'

source 'https://github.com/aliyun/aliyun-specs.git'

# My other pods

def testing_pods

    pod'Masonry', '~>1.0.2'

    pod'SDWebImage', '~>4.0.0'

    pod'FLAnimatedImage', '~> 1.0'

    pod'AFNetworking', '~>3.1.0'

    pod'IQKeyboardManager', '~>4.0.9'

    pod'Reachability', '~>3.2'

    pod'MJRefresh', '~>3.1.12'

    pod'YYModel', '~>1.0.4'

    pod'FMDB', '~>2.6.2'

    pod'AlicloudPush', '~> 1.9.1'

    pod'AliyunOSSiOS', '~> 2.6.0'

    pod'MMDrawerController', '~> 0.6.0'

    pod'UMengAnalytics-NO-IDFA'    #无IDFA版SDK(请根据需要选择其中一个)

    pod'Bugly'

    pod'GrowingIO', '~> 2.1.1'

end

target 'QATeacher' do

    testing_pods

end

target 'QATeacherTest' do

    testing_pods

end

相关文章

网友评论

      本文标题:cocospods 多个target 的写法

      本文链接:https://www.haomeiwen.com/subject/omtwaxtx.html