Reputation: 61
I am doing one application.In that i ma using the GoogleAnalytics SDK.It's working in io6,but getting this error in ios5 only at the below line
typedef NS_ENUM (NSUInteger, GAILogLevel){
}
How to clear this error in ios 5.
Upvotes: 1
Views: 4229
Reputation: 6831
Your code will work with a few adjustments. typedef
is a statement, so it has to be semicolon terminated.
typedef NS_ENUM (NSUInteger, GAILogLevel){
// put something in here so it's not an empty enum
};
Upvotes: 1