2017-06-13 68 views
0

我正在使用Firebase/Remote配置吊舱,该吊舱取决于称为Protobuf 的吊舱,它有很多警告。 我荚文件如何隐藏或删除特定吊舱相关性的警告?

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 

这里是警告,它产生: enter image description here

+0

只需更新您的豆荚。 –

+0

@SalmanGhumsani对不起,我是iOS新手。我怎么做? – archLucifer

+0

@SalmanGhumsani我做了一个'pod更新',它没有工作 – archLucifer

回答

1

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

enter image description here

enter image description here

0

应该通过更新您的吊舱来解决。

步骤更新荚: 1.打开终端,并提出到项目目录 2.运行“荚更新”命令

它会更新你所有的豆荚框架。

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

+0

我试过了,它仍然会产生警告 – archLucifer