Xcode7 - Cannot find interface declaration

I am getting tons and tons of these with XCode7.


I have #import <UIKit/UIKit.h> in all my .h files



- Cannot find interface declaration for UIViewController

- Cannot find interface declaration for UIImageView


etc..



Any ideas?

I would try doing a clean.

Restarting XCode.

Rebooting the computer.

It might be worth trying to create a minimal target and see if that has the same issues. I'm thinking there might be an error breaking subsequent code.

Thanks for the suggestion. After some trial and error I have narrorwed this down to upgrading from WatchKit 1 to WatchKit 2. When I do that my entire app breaks. I get tons of compile errrors of the sort I listed. Im still not sure why.

Did you ever manage to figure it out? I am having the same issue.

Xcode7 - Cannot find interface declaration
 
 
Q