Skip to content

Instantly share code, notes, and snippets.

@rudifa
Last active May 17, 2023 09:33
Show Gist options
  • Select an option

  • Save rudifa/d96dfd74f99e37d0393ac014ddadcac4 to your computer and use it in GitHub Desktop.

Select an option

Save rudifa/d96dfd74f99e37d0393ac014ddadcac4 to your computer and use it in GitHub Desktop.

Revisions

  1. rudifa revised this gist May 17, 2023. 1 changed file with 11 additions and 1 deletion.
    12 changes: 11 additions & 1 deletion registerXcode.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,11 @@
    ‎‎​
    #!/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
  2. rudifa created this gist May 17, 2023.
    1 change: 1 addition & 0 deletions registerXcode.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ‎‎​