Xcode 10 build fails with ‘Command CompileSwift failed with a nonzero exit code

Make sure that, your project Swift Language Version is in the proper version. SwiftMessages 6.0.0 works with Swift 4.2.
Xcode->Project->Target->Build Settings->Swift Language Version

Leave a Comment