Search code examples
iosxcodexcode4.5

XCode: Can I delete test target?


What would happen if I delete the test target for my app? Would this affect my other target? How would I go about properly deleting the target?


Solution

  • If by test target, you mean a unit test target, then deleting the test target would mean you couldn't unit test the code in your project. Deleting the test target wouldn't affect the other targets in your project.

    To delete a target select your project from the project navigator to open the project editor. Select the target you want to delete from the left side of the project editor and press the Delete key.