I have a Xcode project for library arith. I could build it with debug configuration, and I need to debug it. How can I do that?
The ideal method would be to set up a test
I faced the same problem and no one of the previous answer worked for my case so I share my solution (for Xcode):
If you need to debug a c/c++ dylib which is loaded by an external (executable) program: