I am calling setupWithAppKey in application:didFinishLaunching. Seems fine.
Then, I call Dropbox.authorizeFromController from my viewController, and I immediately get this error:
precondition failed: Client is already authorized: file /Users/gmadrid/Desktop/feedfile/Pods/SwiftyDropbox/Source/DropboxClient.swift, line 58
It I comment out the precondition on line 58, I get bit in handleRedirectURL() at line 64. Same error.
Looking at the code, I see why it breaks. setupWithAppKey sets the "authorizedClient" at line 51, so that precondition is always doomed to fail.
Any thoughts on how to proceed or what I might be doing wrong?
Thanks,
George