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

时间:2021-07-02 14:29:15

I am using the Firebase/Remote config pod and that pod depends on a pod called Protobuf Which has a lot of warnings. My pod file

我正在使用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

Here are the warnings that it yields: 如何隐藏或删除特定pod依赖项的警告?

以下是它产生的警告:

2 个解决方案

#1


1  

Please don't worry for the warnings if you are using FirebaseRemoteConfig (2.0.0) and Protobuf (3.3.0) version. This is already updated and you are using the latest release, so you have to wait for the next release from Google firebase for removing the warning, it means that Firebase team have to work for the updations.

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

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

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

#2


0  

It should be solved by updating your pod.

它应该通过更新您的pod来解决。

Steps to update the pod: 1. open terminal and come to your project directory 2. run 'pod update' command

更新pod的步骤:1。打开终端并进入项目目录2.运行'pod update'命令

It'll update your all pods framework.

它会更新你的所有pods框架。

If you received pod command not found then try using 'sudo gem install cocoapods' or follow these steps simply.

如果您收到未找到的pod命令,请尝试使用'sudo gem install cocoapods'或简单地按照这些步骤操作。

#1


1  

Please don't worry for the warnings if you are using FirebaseRemoteConfig (2.0.0) and Protobuf (3.3.0) version. This is already updated and you are using the latest release, so you have to wait for the next release from Google firebase for removing the warning, it means that Firebase team have to work for the updations.

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

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

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

#2


0  

It should be solved by updating your pod.

它应该通过更新您的pod来解决。

Steps to update the pod: 1. open terminal and come to your project directory 2. run 'pod update' command

更新pod的步骤:1。打开终端并进入项目目录2.运行'pod update'命令

It'll update your all pods framework.

它会更新你的所有pods框架。

If you received pod command not found then try using 'sudo gem install cocoapods' or follow these steps simply.

如果您收到未找到的pod命令,请尝试使用'sudo gem install cocoapods'或简单地按照这些步骤操作。