XcodesApp icon indicating copy to clipboard operation
XcodesApp copied to clipboard

Call `lsregister` after installation

Open khoi opened this issue 3 years ago • 1 comments

Tell us how we can improve Xcodes

Call lsregister after installation so Xcode extensions can find Xcode.

This is a quirk of PluginKit described here https://nshipster.com/xcode-source-extensions/#using-pluginkit

Is your feature request related to a problem? Please describe.

What would you like to see? How would you like it to work?

For instance:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister /Applications/Xcode-13.4.0.app`

khoi avatar May 21 '22 04:05 khoi

Maybe call this when making a Xcode version as active would be more appropriate

khoi avatar May 21 '22 13:05 khoi