xed

Opens files for editing in Xcode. More information: https://keith.github.io/xcode-man-pages/xed.1.html.

  • Open file in Xcode:

xed path/to/file1 path/to/file2 …

  • Open file(s) in Xcode, create if it doesn't exist:

xed --create path/to/file1 path/to/file2 …

  • Open a file in Xcode and jump to line number 75:

xed --line 75 path/to/file