Lack of highlighting errors in the test suite in Xcode 7.2

In my test suite in the Objective-C iOS app, errors are not automatically highlighted (things like missing a semicolon, etc.). I need to run tests and then check the build log when the build failed.

Is this normal or did I mess up the configuration? For the rest of the project, error highlighting works as expected.

+4
source share
2 answers

The solution was to add the test object to the test action in the schematic editor.

In Xcode 7.2:

  • Product> Schema> Change Schema ...
  • Select Teston the left.
  • Tests , "" , .

googling test target test bundle.

+5

, , , Xcode 5.1.1 .

, , - . ,

enter image description here

, , .

+3

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


All Articles