cocospods 多个target 的写法

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容