Deep link to a file in Xcode

Hi,

is there documentation on how to write a deep link that will open Xcode on a given file, and optionally a line number?

I know about xed, and I would like exactly that functionality, but in link form, so that I can link to a certain file from an app such as Obsidian or from a README.md file.

I checked Xcode's Info.plist and it understands several URL schemes, the most promising of which is xcode://, which successfully launches the app, but no matter what I tried, I get an error dialog telling me that Xcode did not understand the URL.

Any help on this topic would be greatly appreciated.

Victor

Deep link to a file in Xcode
 
 
Q