Reputation: 1816
i have a sub project in my main project using xcode 4.5.2 . the sub project produces .framework library. the sub project is embbeded in main project. i have also defined the project header where to look for sub project header(framework header). the sub project build target is set for debug. but still i cannot step in break point in the sub project. i found something but its from 2006 when xcode was different. and i cannot figure it out. http://www.idevgames.com/forums/thread-3985.html
does anyone know how to configure xcode in order to use it for debugging the .framwork library?
thanks in advance!
Upvotes: 5
Views: 7584
Reputation: 5956
There is actually a way to debug the an iOS project that uses a .framework, if you have the source code. This worked for me in xcode 4.6.
You can do in the following way:
If you don't see your app's name in the applications listed there, go to "By process Identifier (PID) or Name..." and enter the app's name. Now, if you'll run the application in your device, it should break in the breakpoints that are enabled.
Upvotes: 10
Reputation: 1816
There is no way to debug .framework. I have changed my sub project to produce static lib with public and private headers.
Upvotes: -1