Pod File 一个WorkSpace多Target

2022-04-19  本文已影响0人  天青Se等烟雨

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

上一篇 下一篇

猜你喜欢

热点阅读