I wrote this simple code to try out the new Objective-C literal syntax for NSArrays:
NSArray
NSArray *array = @[@"foo"]; NSLog(@"%@",
I got the same problem, but then it wasn't b/c of a lacking iOS version.. but it was simply because the original array was set as an NSArray rather than an NSMutableArray. Changing it to NSMutableArray fixed it for me
NSMutableArray