In Xcode7, one of my project's targets' code completion and syntax highlighting are broken, at least for some of the files in the project. A different target, with almost the case exact code base, works fine! When I switch schemes the same files work just ok. They both share the same pch file. I've been juggling between Xcode6 and Xcode7, so not sure if that caused this, but I've cleaned out the DerivedData directory and restarted Xcode multiple times, but it still doesn't work. Both targets work just fine in Xcode6.
Any ideas on how to fix this?