Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode lost button test in xctest

I working on Xcode 6. When I coding XCTest, Xcode has been crash. When I reopen my Xcode, and it lost little diamond run button.

It should be:

http://i.stack.imgur.com/6OGSn.png

But it got:

http://i.stack.imgur.com/gpuD5.png

I open other project and it don't have this error. But when I create new target, it get same error (in other project).

I checked Target Membership, but it checked in target name. When I choose Test in Product>Test it run but the button not show.

Thank a lot, sorry for my bad english.

like image 886
Ninh Avatar asked Dec 20 '22 05:12

Ninh


1 Answers

Prefix func name with test

Also try changing the targets

enter image description here

like image 150
ChanOnly123 Avatar answered Dec 21 '22 23:12

ChanOnly123