debug app with custom framework on device

I have an iOS app that uses a custom framework that I wrote. When wanting to debug on device I am required to code sign the custom framework, which seems to strip the debug symbols from the framework. When I then hit a breakpoint on code inside the custom framework I am unable to see the value of any of my variables. If I don't code sign I can see the variables (tested this using the simulator), but I can't simply not code sign when trying to run on device. Is there anyway around this?