Now when you create a new target, the Xcode (I'm using Xcode6) usually defaults to setting up a test target, which is handy for testing purposes, and if you want to delete it, refer to the following steps:
1. Choose Edit Scheme
2. At this point, there are 2 target under the build label, one of which is tests target with the same name, noting that it is not possible to delete tests target directly (the following minus is not clickable)
3, check the test label, select tests Target, click the minus sign, delete the target
4, can be seen at this point, the build label has been automatically tests target removed, refreshing ~
5, then you can wanton deletion of all the items contained tests content, a refreshing ~
6, after the deletion, compile through ~
Note, in fact, the key is the third step, if you do not perform the third step, directly kill the project tests related content, can also be compiled, but will leave a such interface, for people with obsessive-compulsive disorder (such as me), will feel very painful