"xcrun xctrace record --device " commands starts recording info through instruments and store it in a file
but sometimes it run properly and sometimes says following
"Waiting for device to boot"
I have also tried xcode 13.1 CLT
Checked on multiples devices
Changed cables as well