Существует очевидное несоответствие правой скобки, измените код на:
if (indexPath.row == 0) {
cell.detailTextLabel.text = @"A";
}
else if (indexPath.row == 1) {
cell.detailTextLabel.text = @"B";
...
Вы можете сократить это до
cell.detailTextLabel.text = [@"ABCD" substringWithRange:NSMakeRange(indexPath.row,1)];