Hi @black.dragon74
Hope you don't mine, I added a third Note3 in your 1st post suggesting to allow terminal access in Sys Prefs > Security & Privacy > Accessibility
I've also noticed that in latest MacOS, IOReg file don't have permission to write to the random generated folder, therefore failed. You have to manually save it to another directory and then add it to the debug file and recompress them together.
I made a change to the write permission when generating the folder and that seems to work. Here's my change in gen_debug
From
To