【发布时间】:2021-04-06 08:05:03
【问题描述】:
我收到了一些警告信息。大多数在更新相关 Pod 后消失了。但是这三个警告仍然存在。我没有 AppAuth pod,但有 Firebase/Auth 和 Firebase/Core。我应该怎么做才能摆脱它们?
谢谢,
下面是 Podfile。
===========================
# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
end
end
end
target ‘test’ do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# use_modular_headers!
# Pods for test
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'GoogleSignIn'
pod 'Firebase/Firestore'
pod 'Firebase/Storage'
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Performance'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
target ‘testTests' do
inherit! :search_paths
# Pods for testing
end
target ‘testUITests' do
inherit! :search_paths
# Pods for testing
end
end
【问题讨论】:
-
分享 Podfile 会很有帮助。不知何故,AppAuth pod 被包含进来了
-
@PaulBeusterien 我在上面添加了 Podfile。谢谢!
标签: swift cocoapods google-signin deprecation-warning appauth