【发布时间】:2017-02-20 11:59:57
【问题描述】:
我从存储库克隆项目,并且这个项目 podfile 包含版本 0.39.0。当我尝试 pod install 命令时,我总是收到类似的错误
Podfile 文件:[!] 不支持的选项 {:exclusive=>true} for target’。 Podfile 如下所示
inhibit_all_warnings!
def shared_pods
pod 'AFNetworking', '~> 2.0'
pod 'Crashlytics'
end
target ‘product_DEV' do
shared_pods
end
target ‘productTests', :exclusive => true do
shared_pods
end
如何解决这个问题?请帮帮我。
【问题讨论】:
-
请出示您的 podfile,以便我们了解清楚。
标签: ios iphone xcode cocoapods podfile