0
4

1 回答 1

1
  • :exclusive => true do已被弃用,请查看迁移指南。

    • 尝试重新初始化 pod 文件,以便您可以拥有最新的 pod 文件。
    • 或者尝试将 pod 文件内容更改为这样的内容,

      # Uncomment the next line to define a global platform for your project
      # platform :ios, '9.0'
      
      target 'product_DEV' do
      
      use_frameworks!
      
      pod 'AFNetworking', '~> 2.0'
      pod 'Crashlytics'
      
      target 'productTests' do
      inherit! :search_paths
      end
      
      end
      
    • 这是一个绑定镜头,试一试它可能会有所帮助,检查其他参考ref1ref2

    • 检查ref2 abstract_target可能会有所帮助。

      abstract_target 'DummyTarget' do pod "..." target 'App1' do end target 'App2' do end end

于 2017-02-20T13:20:00.910 回答