Xcode 11 XCUITest Failed to get matching snapshots: Error getting main window kAXErrorServerNotFound : <p>After building my app in Xcode 11 and running my suite of XCUITests I am getting many random failures with the following. </p>

<p>Failed to get matching snapshots: Error getting main window kAXErrorServerNotFound</p>

<p>No matter how long I increase timeouts the issues pop up intermittently. It seems to be having issues Snapshotting the UI hierarchy. Our tests pass consistently in Xcode 10.</p>

<p>I have reinstalled Xcode. Deleted all simulators. Cleared derived data. Modified timeouts. Upgraded from Xcode 11.1 to Xcode 11.2.1. </p>

<p>Thanks!</p>

<p>  </p>
