Error converting to 4.2 "Testable names must be unique"

When building in XCode 10.0, i get the warning "Conversion to Swift 4.2 available"


I tap that, and click the "Next" button.


I'm presented with "Convert to Current Swift Syntax Failed" / "Testable names must be unique"


Anyone know how to fix this?

Replies

"Testable names must be unique"


I haven't seen the same message till now. Does your project use `@testable` somewhere?

I haven't seen the same message till now.

Me neither, although it seems likely that the “testable” mentioned here relates to the Xcode scheme.

@dpeace1982, you should check to see if the tests referenced by your scheme (in Product > Scheme > Edit Scheme > Test > Info > Tests) make sense.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"