I’m facing error when I try to debug a sample with IDA 9.2. Obviously I tried to run ‘mac_server_arm’ with sudo, but unfortunately without positive result. In addition I tried to sign the binary using ‘codesign’ tool, no success as well. Hardware is Macbook Pro M3 MAX. macOS version 15.7.3 Sequoia.
I believe the “permission denied” error comes from the OS.
Maybe a silly question, but is the target binary executable? Does it actually run?
Can you debug some helloworld executable or another benign binary?
Yep, the executable has ‘x’ flag and it runs properly. The executable contains two embedded binaries: x64 Intel and ARM version. I tried to debug other executables without success as well.
AFAIK our debug server is signed with proper entitlements, so normally it should work when debugging normal apps. The only known issue I’m aware of is debugging Apple or hardened runtime binaries which requires turning off SIP.
Can we have a confirmation of this issue from another macOS user?
Could you share what were your debugger target settings ? I saw it few times and it was caused by input path, directory path or application path. I don’t remember exactly. Also, did you codesign just the app binary inside or the whole .app bundle ?