Pod File 一个WorkSpace多Target

workspace 'WorkSpace'
project 'PathA/TargetA.xcodeproj'
project 'PathB/TargetB.xcodeproj'

use_frameworks!
inhibit_all_warnings!
platform :ios, '10.0'

def commonPods
pod 'xxxxxx',
end

target 'TargetA' do
commonPods
pod 'xxxx',//TargetA 独有
project 'PathA/TargetA.xcodeproj'
end

target 'TargetB' do
commonPods
project 'PathB/TargetB.xcodeproj'
end

你可能感兴趣的:(Pod File 一个WorkSpace多Target)