Cannot start unit test on device - code generation code (IOS) failed

When I run unit test on my iPad, I get an error as shown below (Xcode7). Can someone face the same problem how to solve it?

Coverage code generation failed

Unable to retrieve profile data files from "iPad".

In addition, a message will also appear, as shown below:

Failed to create profile generation

Xcode could not generate profile information for the package identifier (Com.xxxx.merchant). The profile path was missing. environment variables were valid.

+4
source share
2 answers

1. → Test- > Info- > " "

2.Product Clean,

3. Xcode, Xcode

4. (, )

, , " " , , .

+7

. , , KIF.framework , .

.

+1

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


All Articles