XcodesOrg / XcodesApp

The easiest way to install and switch between multiple versions of Xcode - with a mouse click.
MIT License
6.61k stars 289 forks source link

Call `lsregister` after installation #232

Open khoi opened 2 years ago

khoi commented 2 years ago

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 commented 2 years ago

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