Disable test target in Xcode

I have 2 goals in my Xcode project, 1 application goal and 1 test goal. Since my project has become quite large for compilation, I want to disable the test target, so you do not need to compile my Swift files twice for both purposes.

Any idea how to disable (not delete) my test target from the building?

+4
source share
1 answer

There is an option disableif you right-click on a target in the target targets view:

Disable target test

+8
source

Source: https://habr.com/ru/post/1612368/


All Articles