我对使用Firebase的Google身份验证有疑问。
我的应用程序中有电子邮件和Facebook身份验证,它们可以正常工作,但是当我将pod 'GoogleSignIn'
添加到我的Podfile中并安装后,在构建该应用程序时出现错误:
API_UNAVAILABLE(macCatalyst) ==> " Expected ',' "
一旦我删除了pod 'GoogleSignIn'
并清理了项目,一切将再次正常运行。 Facebook和Google Auth之间是否有任何冲突?
这是我的Podfile:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'WhichLike' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for WhichLike
target 'WhichLikeTests' do
inherit! :search_paths
# Pods for testing
end
target 'WhichLikeUITests' do
# Pods for testing
end
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Core'
pod 'Firebase/Firestore'
pod 'FBSDKLoginKit'
pod 'GoogleSignIn'
end
我正在使用Swift 4.2和Xcode 10.1
任何解决方案将不胜感激。