在多target中安装相同pod

QuickNimble 安装到测试的target中

# Podfile

platform :ios, '9.0'

use_frameworks!

# 定义一个pod名称

def testing_pods
    pod 'Quick', '0.5.0'
    pod 'Nimble', '2.0.0-rc.1'
end

target 'MyTests' do
    testing_pods
end

target 'MyUITests' do
    testing_pods
end

参考:
1 CocoaPods: The Elegant Solution To Installing The Same Pod In Multiple Targets

猜你喜欢

转载自blog.csdn.net/u010828718/article/details/81939665