iOS 中多个 target 使用相同的 pod 配置设置
2016-09-02 本文已影响43人
timrabbit
iOS 中多个 target 使用相同的 pod 配置设置
platform :ios, "8.0"
target:TargetA do
pod 'ReactiveCocoa'
end
target:TargetB do
inherit! :search_paths
end
inherit! :search_paths 才是重点,亲测有效
iOS 中多个 target 使用相同的 pod 配置设置
platform :ios, "8.0"
target:TargetA do
pod 'ReactiveCocoa'
end
target:TargetB do
inherit! :search_paths
end
inherit! :search_paths 才是重点,亲测有效