I have 2 targets in my Xcode project, 1 app target and 1 test target. Since my project has become rather large to compile I want to disable the test target so it doesn't need to compile my Swift files twice for both targets.
Any idea how to disable (not remove) my test target from building?
You can either right click the test and delete or select the target then select the minus symbol ( - ) at the bottom of the Document Navigator pane. Hope this helps.
You can disable XCTests run by Xcode by right clicking on the test symbol in the editor tray on the left. You'll get this menu, and you can select the "Disable " option.
To see detailed information about a particular setting, select the setting and choose View > Inspectors > Quick Help. Xcode displays a description of the setting, along with its name and value type.
There is a disable
option if you right-click on the target, in the test targets view:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With