I am developing a macOS application that uses a privileged helper following this very good Apple example, "Even Better Authorization Sample". Using the "Attach to process by PID or name" Xcode feature, I should be able to debug and set breakpoints both in the host app and the privileged helper. However, on my production machine this does not work and Xcode never stops on breakpoints, although it claims to be attached as root. I have System Integrity Protection disabled. I am using Xcode 12.3. On another Mac it works and it debugs the helper properly. Anybody has a suggestion ? Thanks a lot for your help.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…