I wrote this simple code to try out the new Objective-C literal syntax for NSArrays:
NSArray
NSArray *array = @[@"foo"]; NSLog(@"%@",
If anyone gets to this old thread after getting this error in Xcode 9.3 beta 4 with some legacy Objective-C code like I did, here was my fix.
Update:
@property (nonatomic, strong) id myObject;
To:
@property (nonatomic, strong) NSMutableArray *myObject;