Xcode 7 - Code coverage data generation failed

前端 未结 19 2759
無奈伤痛
無奈伤痛 2020-12-25 09:32

When I run my tests I get an error:

Code coverage data generation failed.
Unable to retrieve the profile data files from \'UIDevice\'.

19条回答
  •  無奈伤痛
    2020-12-25 10:11

    One or more of your simulators has gotten stuck. The only thing that always works to fix this for me is to reset the simulator content and settings from the Simulator menu.

    Note: this will delete all app data from the simulator.

提交回复
热议问题