Xcode 9 Release Notes says that Swift 3 compilation is supported:
One compiler for Swift 4 and Swift 3, Swift 4 and Swift 3 targets c
I had same issue - (I installed pod which swift version was 3x and my project's swift version was Swift 4. So I got so many compiler errors. Later I changed the Swift version form 4 to 3.2 and tried to build project, again I got compiler errors. I think that happen because of I run pod install while my project was in Swift 4.)