iOS 11, Swift 4.2, Xcode 10Looking at SO and indeed googling all seem to suggest this should work, but it doesn't.
After migrating to Swift 4.2, I am getting multiple errors, one of which is weird. It seems like a bug in XCode 10, but is there a workaround available?
Using Swift 4.2 with Xcode 10 beta, if I write:Then I get a fatal error at compile time:I found a workaround for Xcode 10 beta. Just include this somewhere in your project: