I'm trying to integrate the Objective-C SDK (version 3.0.9) in a Swift 3 project. We could do it with the same project in its Swift 2.3 version.
In Swift 3 we get the following error:
nil cannot initialize specified type 'DBDownloadUrlTask?'
fileprivate var fileDownloadTask: DBDownloadUrlTask? = nil
The same line compiled fine in the Swift 2.3 project.
Changing the line to:
fileprivate var fileDownloadTask: DBDownloadUrlTask<AnyObject, AnyObject>? = nil
Gets rid of the error, but not sure that is a good solution.