Using Swift 3 with XCode 8.1 (8B62)
I have a class called
Generic parameter 'T' could not be inferred
typealias Category - OpaquePointer
This turned out to be a problem with the project.pbxproj. A previous merge conflict was missing some references which broke the compiler from recognizing the symbols in the file. I had to remove the reference to the file and add it as a new file again.