Read mock data (stubs) in UITest from a local storage to iPhone (real device not a simulator)

35 Views Asked by At

Is there a way to read the Mock data which contains the Json files from the real iPhone during the UITest using XCUITest?

Mock data (Stubs) files are bundled as part of the XCTestRunner app but the iPhone is not able to read it from there. I also tried reading from the host storage but still no luck.

The above steps works fine when running on a simulator.

0

There are 0 best solutions below