Xcode 7 - Code coverage data generation failed

前端 未结 19 2794
無奈伤痛
無奈伤痛 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:28

    I was having this problem on Xcode 8.3 on Sierra 10.12.4

    I opened the Keychain Access application on my Mac

    After a few seconds, I got several system pop-ups asking for my password, to grant permissions to Keychain items.

    I entered my password into the pop-ups, and then my tests starting working.

提交回复
热议问题