This post discusses how to reopen an application in XCTest
using the resolve function: Possible to bring the app from background to foreground?
It mentions that you need to import the XCUIElement.h
into the bridging header. Can someone please give details on what this means and how to accomplish this?
I created the Bridging-Header.h and copied in the XCUIElement.h:
Added the import to the Bridging file:
I changed the import statement with the file, but then get all these other errors so I'm not sure if I did that right: