gpt4 book ai didi

ios - Cocoapods iOS - [!] Google 已被弃用 - 如何摆脱警告?

转载 作者:IT王子 更新时间:2023-10-29 07:40:14 26 4
gpt4 key购买 nike

我做的步骤:

  1. pod repo 删除 master

  2. pod 设置

  3. pod update --verbose(只是为了检查进度,尤其是在更新 Google SDK 时,花了很长时间才完成)。

在那里,我收到了警告。在我的日志中,Google SDK 已成功更新:

-> Installing Google 3.1.0 (was 3.0.3)

-> Installing GoogleMaps 2.3.0 (was 2.2.0)

播客文件:

target 'MyProj' do

...
pod 'Google/Analytics'
pod 'GoogleMaps'
...
target 'MyProjTests' do
inherit! :search_paths
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
end

enter image description here

我想知道如何摆脱这个警告。

最佳答案

pod 'Google/Analytics' 更改为 pod 'GoogleAnalytics' 删除斜杠。

关于ios - Cocoapods iOS - [!] Google 已被弃用 - 如何摆脱警告?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44538472/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com