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

你可能感兴趣的:(cocospods 多个target 的写法)