The truth is that I am not sure if this belongs to this forum, or maybe a macOS forum... But anyway, here it goes.
I have developed a program which would like to profile. I am trying to use Instruments, which works well when running the Time Profiler. However, when trying to run the Allocation profiler I get the error Failed to gain authorization. According to THIS, this has to do with my binary "not being signed with a debugging entitlement".
I guess the question now is obvious: How can I sign something to enable this? ( I am not familiar at all with the .plist files... any good link I can read).
Also, is this something that can be done by default by Cargo?