There is actually a way to debug an iOS project that uses .framework if you have the source code. This worked for me in xcode 4.6.
You can do the following:
- Paste breakpoints in .framework source code.
- Compile a project that uses the framework and runs it on your device (iPhone, iPad, etc.). This step is to make sure that the most updated project is installed on your device.
- Stop the process running on your device and go to xcode -> product -> Attach to process -> YourApp. In xcode 6, "Attach to Process" is located in the Debug menu.
If you do not see your application name in the applications listed there, go to "Process Identifier (PID) or Name ..." and enter the name of the application. Now, if you run the application on your device, it should break at locked breakpoints.
source share