Hi guys, do you know how to open files in xcode at a specific line from command line?
Open file in Xcode at a specific line from command line
I think the best you can hope for, if it's even possible, is to applescript Xcode to open/run and search on a given string.
2021 Xcode still as TextEditor like. You need IDE like AppCode for it.
xed might solve what you're looking for.
Example:
More info via man xed.
Example:
Code Block xed -l 123 ./src/hello_world.c
More info via man xed.