XCode 4.2 업그레이드 후 warning 발생에 관헤
"Incompatible pointer types assigning "CCActionInterval*" from "CCAction*" 에러
other = [action retain]; 부분을 ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range) attributes:(NSDictionary*)[(ZAttributeRun *)[_attributes objectAtIndex:firstAfter-1] attributes]]; 로 변경
other = (CCActionInterval*) [action retain]; 로 변경
2. ZAttributedString.m 파일의 에러
ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range) attributes:[[_attributes lastObject]attributes]]; 를
ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range) attributes:(NSDictionary*)[(ZAttributeRun *)[_attributes lastObject] attributes]]; 로 변경
ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range) attributes:[[_attributes objectAtIndex:firstAfter-1] attributes]]; 를
3. CCDirevctorIOS.m 파일의 에러
UIDeviceOrientationPortraitUpsideDown 부분을
UIInterfaceOrientationPortraitUpsideDown 로 변경