TL DR version :
This question arose due to the fact that I have several frameworks (which I created) and a client project that uses the specified frameworks. Now, when I open a client project and try to debug it, it does not work.
However, if I have a project related to the open framework, then debugging seems to work (although there are some weird issues with breakpoints that I don't see, it works).
I looked at Apple docs, and maybe thereโs an answer somewhere buried there, but I couldnโt find it in the description of the Xcode debugging guide.
Long version :
The reason this issue is important to me is because my colleagues and I had disagreements about how the headers are imported into the frames we create.
I have a tendency to use frame headers (with client applications):
#import "FrameworkA/HeaderA.h" #import "FrameworkB/HeaderB.h"
He, on the other hand, prefers to import frame headers (with client applications) as follows:
#import "HeaderA.h" #import "HeaderB.h"
and specifying the header search paths in the build target of the client application.
Even more complicating is the fact that some of these structures are interdependent. For example, FrameworkB has headers from FrameworkA that are listed in its format:
#import "HeaderA.h"
His argument for this is that debugging only works if we import the headers this way. It seems doubtful to me that there is a connection between the header import style and debugging, but I'm not sure how Xcode selects the file for communication during debugging, hence the question.
Thanks in advance for your help in this matter.