I'm running Xcode 14 beta 5 on macOS Ventura (13.0 Beta (22A5321d)) and when trying to run unit tests, not UI tests, plain old unit tests, I get this super annoying dialog when starting a test.
This is an SPM package, not an .xcodeproj.
If I click details, this is shown:
Details
Failed to prevent system sleep during UI testing. Error code: -536870211
Domain: IDEFoundationErrorDomain
Code: 1
User Info: {
DVTErrorCreationDateKey = "2022-08-17 20:06:42 +0000";
}
--
System Information
macOS Version 13.0 (Build 22A5321d)
Xcode 14.0 (21330) (Build 14A5294e)
Timestamp: 2022-08-17T22:06:42+02:00
Sometimes deleting derived data helps, sometimes not.
Any clues? I did not see this error in Xcode 14 beta 1 I think.
