Hey guys just installed cocos2d and opened a new project and built it and this is the error im getting
Incompatible Objective-C types 'struct NSArray *', expected 'struct NSDictionary *' when passing argument 2 of 'initWithIndex:attributes:' from distinct Objective-C type
this is the code line
Code:
ZAttributeRun *newRun = [[ZAttributeRun alloc] initWithIndex:NSMaxRange(range)
attributes:[[_attributes objectAtIndex:firstAfter-1] attributes]];