-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode source editor extension not visible in System Preferences - Extensions #494
Comments
OK, I found a solution to my problem. The article XcodeKit and Xcode Source Editor Extensions by Zoë Smith, March 25th, 2019, says: Finally, 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 (it’s easiest to temporarily add lsregister’s location to PATH first):
Indeed, before installing Xcode 11.0, I kept the previous app, renamed to Xcode1030.app. I ran above commands, and lo, the swiftformat extension is now in seen in Extensions, enabled. |
Makes sense, thanks for following up 👍 |
nice
nice,thanks |
Great tipp! This should be included in the FAQ / Known Issues section! Every once in a while the "SwiftFormat" menu gets missing in my Xcode installation and this helps! |
Thank you for posting this. |
Its worked @limuyang2 🎉
|
not working for me, unfortunately. |
I noticed with Xcode 14 that once I upgraded using the brew cask method I could not get it to re-appear in Xcode 14. However, if I downloaded and installed the application from the releases tab it reappeared. May be of use (at least to myself when I come looking for this again in a year or so's time :-) ) |
In my case is that, once you done with brew install, go to "Applications > SwiftFormat for Xcode" and simply double click to open it |
Thank you for your guidance, it solved the issue of the Xcode 15 editor menu not displaying for me. |
Thank you. This worked for me too. Xcode 15.2 Opened |
Installing it via Brew cask no longer works. Download the zip from release and install it directly. |
Just omit "cask" from the command an it will install fine. |
Yep, it didn't show up in Xcode Extensions until I installed it directly from release. In Sequoia it is now in System Settings → General → Login Items & Extensions → Xcode Source Editor |
I have used swiftformat successfully since mid-2018, mainly via Editor Extension in Xcode.
However, after installing macOS 10.15 and Xcode 11.1 the Extension menu items (Format Entire File, Format Selected Source) disappeared from the Xcode Editor menu.
I pulled the project from
https://github.com/nicklockwood/SwiftFormat.git
and ranSwiftFormat for Xcode.app
, then looked intoSystem Preferences - Extensions
, but I found no trace of Xcode extensions or swiftformat therein.Next, I built and run the scheme
SwiftFormat for Xcode
. The app dialog popped up, but again there was no new entry inSystem Preferences - Extensions
.Am I missing something?
Any advice on how to proceed?
Is there a log file that would indicate the problem?
The text was updated successfully, but these errors were encountered: