Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 956
user1486548 Avatar asked Dec 13 '12 22:12

user1486548


People also ask

How do I cancel my target membership?

If you want to change or cancel your subscription, you can do so at any time by logging into your My Account on Target.com, selecting Subscriptions and then selecting the subscription you want to change or cancel. Your subscription will remain in effect until it is canceled.

What does target mean in Xcode?

A target specifies a product to build and contains the instructions for building the product from a set of files in a project or workspace. A target defines a single product; it organizes the inputs into the build system—the source files and instructions for processing those source files—required to build that product.

How do I change my target in Xcode?

Go to project's settings in the Project Navigator panel. Under the Targets sections, right click the existing target and select Duplicate to copy your existing target. 2. Xcode will ask you if your new target is for iPad development.


2 Answers

Select '.xcodeproj' file from project navigator, then select 'Show project and targets list' icon, select 'target' to delete and then click '-' at bottom

enter image description here

like image 162
Atul Kaushik Avatar answered Oct 06 '22 01:10

Atul Kaushik


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.

like image 28
Swift Dev Journal Avatar answered Oct 05 '22 23:10

Swift Dev Journal