Skip to content

Instantly share code, notes, and snippets.

@rudifa
Created April 11, 2020 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudifa/06ddb638cf5145efe43e5ef67b8decb4 to your computer and use it in GitHub Desktop.
Save rudifa/06ddb638cf5145efe43e5ef67b8decb4 to your computer and use it in GitHub Desktop.
Xcode extensions disappeared after installation of an new Xcode version?
#!/bin/bash
# problem:
# you installed a new version of Xcode, and now the previously installed extensions are
# not visible any more in menus or accessible via custom keyboard shortcuts
# solution:
# https://nshipster.com/xcode-source-extensions/
# ... when multiple copies of Xcode are on the same machine, extensions can stop working completely. In this case, Apple Developer Relations suggests re-registering your main copy of Xcode with Launch Services.
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f /Applications/Xcode.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment