how can i solve gdb problem "unable to find Mach task port for process-id 2037: (os/kern) failure (0x5). (please check gdb is codesigned - see taskgated(8))

I have done every step to set it up

Replies

Where did you get your copy of GDB from? The standard Apple tools use LLDB, and have for a number of years. Getting GDB to work on modern Apple OS releases is going to be tricky. I strongly recommend that you use LLDB instead.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"