Correct delete test target

Source: Internet
Author: User

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




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.