# 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