-
Notifications
You must be signed in to change notification settings - Fork 639
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
Not seeing SwiftFormat in Xcode 12.1/Big Sur #808
Comments
Appears to require this: https://developer.apple.com/forums/thread/666434 |
Comment in Xcode 12 release notes: "A new Xcode Source Editor Extension target doesn’t automatically set up embedding XcodeKit.framework in the extension. (59274389) |
@ahwulf I don't have Bug Sur to test with yet - would you mind trying to fix this and open a PR if you get it working? |
Never dealt with an extension before. Does it work for you in Xcode 12.X on Catalina? The release notes for Xcode were not very clear as to whether it was a 12 bug or an OS bug (maybe some kind of security thing). |
@ahwulf it works on Catalina. |
OK I see XCodekit is Embed & Sign in your extension, which seems to be what is required, yet it does not work. Not a clue what else to try. Maybe someone else out there has some idea? The only thing I see in console at the end of the process is swift format reporting |
I downloaded it from the release assets and it works for me for both macOS 10.15 and 11.0 with Xcode 12.2 |
Interesting, I am not seeing any Xcode extensions anymore, even for those downloaded from the App Store. Looks like a system bug. I build this project again and signed it. However, it does not show. |
@imWildCat do you have multiple copies of Xcode installed? That might explain it. Also, try moving Xcode out of the applications folder and then moving it back again. |
@nicklockwood I have Xcode 12.0 in the |
No luck. Found a potential issue:
|
@imWildCat did you try this?
|
Sorry, I missed this one. It works, thank you! |
I will try that later today too.
…On Tue, Dec 1, 2020 at 6:40 AM Daohan Chong ***@***.***> wrote:
@imWildCat <https://github.com/imWildCat> did you try this?
try moving Xcode out of the applications folder and then moving it back
again.
Sorry, I missed this one. It works, thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#808 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUAZTAASTT4FB3UVUE576LSSTIZBANCNFSM4T6RT63Q>
.
|
I also had this issue today, and I also solved it by moving Xcode out of /Applications and then moving it back. |
Helped me too! I haven't seen the plugin in the |
Have you check this: https://nshipster.com/xcode-source-extensions/ Section Using pluginkit start with this:
I have used the instruction in that section in the past when I was not able to see the extension from Xcode after an upgrade. |
Hi @VinceBurn Thanks for the link above. Looked promising, but unfortunately it has not changed anything.
I've restarted both Xcode and the Extensions dialog, but still Xcode is not showing up in the list :( When I again run
it still does not print anything. I guess this is not what should happen, right? By the way, I'm using xcode-install, resp. |
Linking #804 for cross referencing... |
I installed SwiftFormat and SwiftFormat For Xcode and followed the instructions. But no matter what I do Xcode never shows it in the Edit menu. The extension is clearly checked in Preferences. I even ran the whole thing multiple times, but Xcode never changes. Is this some limitation in 12.X or Big Sur?
The text was updated successfully, but these errors were encountered: