You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to get it working with my sample project for Swift/ macOs - if this is still an issue- then please see the code there. I think its down to how you handle your URL pickup.
This issue should track the fact that because of the way the initializers are declared, Swift does not know that GTMAppAuthFetcherAuthorization.init() is an invalid initializer. So you can compile code that will always crash. That's not right, it should be marked as unavailable to swift or whatever pragma you like, in order that GTMAppAuthFetcherAuthorization.init()does not compile.
I am using google drive sdk and I have implemented GTMAppAuth for login in my swift project.
In AppDelegate.swift:
In ViewController.swift:
But app is crashing(as title says) while view load. BTW my
viewDidLoad()
is empty.I have put exception breakpoint and it stops here:
GTM_UNAVAILABLE_USE_INITIALIZER(@selector(initWithAuthState:));
Please help regarding this issue.
The text was updated successfully, but these errors were encountered: