Tech

Cannot debug my Mac application under Xcode

I cannot debug my Mac application under Xcode if I enable Hardened Runtime. This is the message I get:

lldb -p gives the same error:

error: attach failed: Error 1

Yes, if I disable this function, it works but that is not how it’s supposed to be. Help please!

Hey there!
What if you try resetting the content and settings in the simulator worked for me. This is available in the “iOS Simulator” menu.