Mani
Mani

Reputation: 17585

Manually Configure Unit test with Xcode

I want to add Unit test(as like below) features with app. I know how to add it during creation of project as shown in picture

enter image description here

But my problem here is, my app is already in app store(and I missed above configuration while project creation). Now I want to add it my project, How can I add this? I know, XCTest framework should be add it to my project. Is any other important step to be done? Please give clear explanation with it.

Upvotes: 1

Views: 74

Answers (1)

Abizern
Abizern

Reputation: 150615

From your Project settings click on "Add Target..."

enter image description here

And from the sheet that pops down, choose the Test Target

enter image description here

Upvotes: 1

Related Questions