Using the Refactor->Rename utility in Xcode I renamed a class to be more accurate to what it is. Now when I try to build my project I get a compiler error "Expected a type" in one of my header files when it tries to build one of the Today Extension projects.
#import <Foundation/Foundation.h>
#import "Timetable.h"
@interface NSString (Extras)
- (NSString *)CountdownLabelWithSchedule:(Timetable *)sch;
@end
Xcode is telling me that the error is with the Timetable reference on the last line. There's nothing interesting in Timetable that I think could cause this problem.
#import <Foundation/Foundation.h>
@interface Timetable : NSObject
// Just some NSString & BOOL properties
@end
In the today extension's target under Build Phases->Compile Sources I have Timetable.m
included.
I tried cleaning the project and deleting the derived data, but it didn't work.