1

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.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
user3146380
  • 61
  • 1
  • 5

1 Answers1

1

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
};
Brian Tracy
  • 6,801
  • 2
  • 33
  • 48