[英]Why I am getting error of “Use of unresolved identifier 'GIDSignIn'”?
I am trying to implement it from google but failed in Swift 4. Maybe the code is outdated. 我正在尝试从Google实现它,但是在Swift 4中失败了。也许代码已经过时了。 How can I solve the issue in swift 4? 如何快速解决问题4? My pod file is for Swift 4. 我的pod文件用于Swift 4。
pod 'Google/SignIn'
and my AppDelegate file is looking like this. 我的AppDelegate文件看起来像这样。
Try updating your pod file to include the following: 尝试更新您的Pod文件以包括以下内容:
pod 'GTMAppAuth'
pod 'GoogleSignIn'
And also use this import in your AppDelegate: 并在AppDelegate中使用此导入:
import GoogleSignIn
Hope this helps someone out. 希望这可以帮助某人。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.