leaks CLI not working for real device to detect memory leak

I am using leaks app_PID on terminal but getting error as below for iOS real device: [This command working fine with simulator and return memory leaks of the app]


Code Block
leaks[57936]: leaks cannot examine process 57929 (with name like '57929') because it no longer appears to be running.
leaks[57936]: [fatal] mach port for process 57929 not valid


leaks CLI not working for real device to detect memory leak
 
 
Q