xcode->preferences->text editing->display options->show line numbers