如何隐藏或删除特定 pod 依赖项的警告?

How do I hide or remove warnings for a specific pod dependency?

我正在使用 Firebase/Remote 配置 pod,该 pod 依赖于名为 Protobuf 的 pod 其中有很多警告。 我的 pod 文件

platform :ios, '10.0'

target 'AppeeUITests' do

  use_frameworks!

  pod 'Alamofire', '4.4'
  pod 'SwiftyJSON', '3.1.4'
  pod 'Firebase/Core'
  pod 'Firebase/RemoteConfig'

end

target 'AppeeUITests' do
    inherit! :search_paths
    pod 'Firebase/Core'
    pod 'Firebase/RemoteConfig'
end

target 'AppeeUITests' do
    inherit! :search_paths
end

这是它产生的警告:

应该可以通过更新你的 pod 来解决。

更新广告连播的步骤: 1.打开终端,来到你的项目目录 2. 运行 'pod update' 命令

它将更新您的所有 pods 框架。

如果您收到的 pod 命令未找到,请尝试使用 'sudo gem install cocoapods' 或 follow these steps simply

如果您使用的是 FirebaseRemoteConfig (2.0.0)Protobuf (3.3.0) 版本,请不要担心这些警告。这已经更新并且您使用的是最新版本,因此您必须等待 Google firebase 的下一个版本来删除警告,这意味着 Firebase 团队必须进行更新。