yogsma
yogsma

Reputation: 10594

Attaching a source of framework in xcode

I am trying to debug some code of framework. Right now it always brings me to assembly code. Is there a way I can attach my source to framework so I can debug in framework? Any other alternatives?

Upvotes: 2

Views: 863

Answers (1)

Rikkles
Rikkles

Reputation: 3372

If you want to debug the code of a framework that your app uses, create a workspace and put the sources of the framework as well as your app source as 2 projects inside the workspace. make sure the framework is a dependency of the app, and compile and run the app. The framework will first compile, then the app, and you can put breakpoints in the framework and do all standard debugging.

Upvotes: 1

Related Questions