Xcode 5: Unit Tests not running

前端 未结 5 2644
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-20 05:15

I created a few test cases and they all passed... That\'s because they are not being run.

From Xcode, I get:

Test Suite \'All tests\' started at...
Test Suite          


        
5条回答
  •  梦毁少年i
    2021-02-20 05:45

    Try this:

    1. Clean Project Derived Data
    2. Product > Clean
    3. Run the app
    4. Wait for Xcode indexing to finish

    By this point the tests should reappear on the Test Navigator pane

提交回复
热议问题