I am using SwiftForms library from GitHub. I recently upgraded my xcode project to Swift 3 and fixed several errors after that. I also made sure to issue
Your minimum deployment iOS version is less than 10.0, that's why this error comes.
A lines with
public typealias ...
are compiled and run on SDK lower than 10.0 as well. In this case it could be missing in your product.