Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8 beta: Testable names must be unique

Tags:

xcode

swift

I installed Xcode 8 beta 3 and tried to convert the source files to Swift 3. Does not work as I get the following error every time:

Testable names must be unique

Any idea what this means?

like image 484
Tapani Avatar asked Jul 22 '16 16:07

Tapani


2 Answers

Is there any duplicated TestableReference in your .xcscheme file? Please check the BuildableName duplication. Just delete the unnecessary TestableReference.

like image 80
air23 Avatar answered Sep 24 '22 06:09

air23


I wasn't able to convert my project until I added all the 'Test Schemes' in the drop down list (Manage Scheme and clic + button)

like image 23
Frédéric Dal Bo Avatar answered Sep 23 '22 06:09

Frédéric Dal Bo