Last active
May 17, 2023 09:33
-
-
Save rudifa/d96dfd74f99e37d0393ac014ddadcac4 to your computer and use it in GitHub Desktop.
Register Xcode.app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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
The problem of loss of app bindings (menu and keyboard) occurs sometimes with updating the
swiftformat
Xcode extension.Registering Xcode with this script usually fixes it.