Good afternoon. I'm trying to run the UI tests in CI using a shell script(trigger). By default, it runs under the account "_ksssbuildd" and generates an error:
instruments[41834:3154646] Exception thrown while running an XRSpace op (Analysis Core Space op): Unexpected error opening unqiuing path: Error Domain=Instruments Path Manager Code=0 "Cannot create temporary directory" UserInfo=0x7fb1a3cc19b0 {NSLocalizedDescription=Cannot create temporary directory}
Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 8.) : Failed to launch process with bundle identifier 'odin.test'
In case of change the user through sudo, Instruments do not generate any errors, but do not start the emulator. Is there any way to solve this problem?