I am using the latest version of Xcode 9 and macOS 10.13.
When I try to make a memory graph from the current state of my application, it shows an empty screen that says No Selection.
I also tried to profile and work with Instruments, but it did not allow me to run due to a permission error.
Target failed to run.
Permission to debug [app name] was denied.
I am aware of these threads and tried the suggestions available in them, but they didn't seem to work:
Things that I tried:
Looks like it's a specific issue with Xcode 9.
Are there any workarounds for this issue?
I tried building the application on a physical device and it worked, hovever, the memory graph did not show my Swift classes (for e.g., my controllers were simply not there). Allocation observing worked fine with Instruments, nonetheless.
It seems like this is an issue caused by the simulator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With