I am currently trying running UITests where I am reinstalling the app after each test according to this answer: https://stackoverflow.com/a/36168101/13081999
I am guessing it has something to do with the new Version of Xcode 11.4 because the release notes say:
Previously, when running UI tests, the target under test was reinstalled before each test started. Starting in Xcode 11.4, the target under test is installed once per test session and device, speeding up UI tests considerably. (24776269)
I already tried using the Legacy Build System but that did not change a thing.
This is the detailed error message:
Details
Could not locate installed application Domain: com.apple.platform.iphoneos Code: -1 Recovery Suggestion: Install claimed to have succeeded, but application could not be found on device. bundleId = xx.xxxx.xxx.xx
Installed application was not present in database of installed apps after multiple lookup attempts.
Domain: com.apple.platform.iphoneos
Code: -1
System Information
macOS Version 10.15.4 (Build 19E266) Xcode 11.4 (16134)
Tried running the test on an iPad (7th Generation) iOS 13.4