Reputation: 1965
Ok so my Xcode randomly decided to be funky..
I have a class called TVBrowseCategoryViewController, here is the .h:
#import "TVBrowseCategoryCell.h"
#import "TVNativeFeedViewController.h"
@interface TVBrowseCategoryViewController : TVNativeFeedViewController
@end
At first, the @interface line gives me a warning, "Class TVBrowseCategoryViewController defined without specifying a base class", but then when I build the project I get these 2 errors for the same line:
Cannot find interface declaration for 'TVNativeFeedViewController', superclass of 'TVBrowseCategoryViewController'; did you mean 'TVMainViewController'?
Attempting to use the forward class 'TVMainViewController' as superclass of 'TVBrowseCategoryViewController'
I've tried cleaning Xcode, cleaning the build folder, deleting derived data, restarting Xcode, checking for circular imports(pretty sure there are none) but nothing is working.
Upvotes: 1
Views: 2531
Reputation: 1965
Ok so I was wrong, the problem was that I actually did have circular imports.
Upvotes: 2