There are number of questions with similar title but none them of helped me.
but i can relate solution of this 'NSGenericException', reason: Collection <
You can't modify the array while looping through it with the for...in... control statement.
for...in...
Try:
NSArray *compareArray = [updatedLocalityArray copy]; for (NSString *test in compareArray) // ...