Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix "No reply dictionary received from LeakAgent request" error in Xcode?

Tags:

After renaming of my project folder, I can't open View Memory Graph Hierarchy tool of debugging. I have fixed my project files and project configuration, and project launches normal, but I need to catch memory leak cases via this tool. How to fix it?

Error message of showing <code>View Memory Graph Hierarchy</code> enter image description here

Update: I have both iPad and iPhone without SIM for testing. With iPad I get the issue, but with iPhone not. It may be related to a device or some system configuration of device. Also I tried to test on my own iPhone with SIM and/or all user settings, then a didn't get the issue.

like image 939
Agisight Avatar asked Dec 07 '18 09:12

Agisight


2 Answers

You might run into this issue if you are using Xcode 11.4.1 and trying to view memory graph hierarchy with a simulator with lower OS version (13.0 my case). Using the latest version of the simulator fixes the issue.

like image 118
emrepun Avatar answered Oct 04 '22 09:10

emrepun


I had the same issue. It turned out the LeakAgent crashed somehow. So, I figured maybe launch instruments' leak tool should help. So I launched instruments, started the leaks tool and then closed the instruments window (not quit it). Returning back to XCode, the memory graph feature worked. Hope this will be of some help.

like image 29
Jiang Wang Avatar answered Oct 04 '22 10:10

Jiang Wang