Xcode 7 - Code coverage data generation failed

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

    Carthage users:

    This happened to me after I added a new framework to my Cartfile.

    I ran carthage update but forgot to drag the .framework file from Finder into the Embedded Binaries section of my app target!

    Once I did that, the problem went away.

    (Note this is a specific case of the general problem mentioned by @Mustafa above.)

提交回复
热议问题