your same code is working fine., just clean and build the project. here is my code
NSMutableArray *sampleArray = [[NSMutableArray alloc]
initWithObjects:@"1",@"2",@"3",@"4", nil];
NSLog(@"%@", sampleArray);
[sampleArray removeObjectAtIndex:0];
NSLog(@"%@", sampleArray);