What is different about how xcode looks for sources before and after a build?

67 Views Asked by At

I am having an issue getting code sense to work for a Library (RestKit) that I have installed via cocoa pods. But I will try to keep the question more general to how xcode works underneath.

The situation is that I can consistently do the following to fix code completion:

clean (cmd+opt+shift+k) -> close project -> delete derived data -> restart xcode

And when I have the workspace back open, code completion is working fine. However as soon as I build (cmd+b) code completion breaks, and my header import fails.

So my question is, what is different about how Xcode is resolving these headers before and after a build?

Thanks Much.

0

There are 0 best solutions below