Hi I am getting the below error while doing memory profiling(launching instruments using xctrace command) in M1 processor.
Run issues were detected (trace is still ready to be viewed):
-
[Error] Failed to start the recording: ktrace cannot trace the system under Rosetta translation
-
[Error] Unexpected failure: Data source agent failed to arm.
-
[Error] Unexpected failure: Couriers have returned unexpectedly.
Recording failed with errors. Saving output file...
I am launching below command via jenkins: xcrun xctrace record --template 'Leaks' --launch <app_name> --output 'recording.trace'.