I am trying to implement it from google but failed in Swift 4. Maybe the code is outdated. How can I solve the issue in swift 4? My pod file is for Swift 4.
pod 'Google/SignIn'
and my AppDelegate file is looking like this.
Try updating your pod file to include the following:
pod 'GTMAppAuth'
pod 'GoogleSignIn'
And also use this import in your AppDelegate:
import GoogleSignIn
Hope this helps someone out.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.