"UITests recording reports 'The capability "Create Service Socket" is not supported by this device.' on M1 chip, but works normally on Intel chip."
UITests recording throws an error when running on an M1 chip
Same behavior on my machine (M1, MBA)
Hello, that error might suggest that the device is not fully configured for development. Please double-check the "Devices and Simulators" view in Xcode to see if the destination device reports any issues. Also, I'm curious if you can run tests on that device without any problems. If not, the error message from running a test might give you more hints about a problem.
If the problem persists, I recommend filing more details via feedback assistant. See https://developer.apple.com/bug-reporting/ for information on the process.