Xcode 10.2 no longer supports Swift 3 causing compiler test to fail
Xcode 10.2 comes with Swift 5.\
The test build project generated defaults to Swift 3.0.\
This cannot be override by `-DCMAKE_XCODE_ATTRIBUTE_SWIFT_VERSION=5.0` or `export SWIFT_VERSION=5.0`.
Links:\
[Swift 5 Release Notes](https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_beta_release_notes/swift_5_release_notes_for_xcode_10_2_beta?language=objc)
issue