Re: Compiling unit test code along with main target?


 



On Sep 13, 2020, at 11:25 PM, Rick Mann <rmann@...> wrote:

 Is there any way to get Xcode to build all the unit tests (but not run them) each time I hit Command-B on my main target?

Yup. 
  • Go into the scheme editor
  • Select Build from the sidebar
  • In the row of checkboxes to the right of your unit test target, check "Run".

—Jens

Join xcode@apple-dev.groups.io to automatically receive all group messages.