So I decided to change enum declarations. Before my declaration was defined like this in Enums.h:
typedef enum {
DateNoneReminderRepeat = 0,
DateDayReminderRepeat = 1,
DateWeekReminderRepeat = 2,
DateMonthReminderRepeat = 3,
DateYearReminderRepeat = 4
} ReminderDateRepeat;
Then I decided to change it to this:
typedef enum {
APDateNoneReminderRepeat = 0,
APDateDayReminderRepeat = 1,
APDateWeekReminderRepeat = 2,
APDateMonthReminderRepeat = 3,
APDateYearReminderRepeat = 4
} APReminderDateRepeat;
Now Xcode won’t build complaining about “Parse Issue Expected a type” (see below image).
Image Link As Display is small
I have cleaned the project several times to no avail.
I import the enums in my Prefix.pch file this:
#import <Availability.h>
#ifndef __IPHONE_3_0
#warning "This project uses features only available in iOS SDK 3.0 and later."
#endif
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import <SSToolkit/SSToolkit.h>
#import "Enums.h"
#import "Constants.h"
#import "Utilities.h"
#endif
Thanks for all your help. It turned out that changing the enums made Xcode go bazonkas. So it was a matter of commenting out some code to make Xcode calm down and then renaming my enum types to the changed enum types.