This article addresses the problem of Swiftify’s Xcode extension being missing from the Editor menu or the Finder extension being missing from the Context menu.
Before troubleshooting, make sure that:
- You have a project open in Xcode.
- You have a text file open in Xcode (not Storyboards, assets, etc.).
- You are looking for Swiftify under the Editor menu and not the Edit menu.
If you're using the Offline Converter, launch the app at least once so it can register its extensions and services. Make sure that you launch the app from the Applications folder.
If you still can't find the extension, see the possible issues and troubleshooting processes below.
Swiftify's Extension is Disabled from System Preferences
If the Editor -> Swiftify menu has disappeared from Xcode, the first thing to look at is whether Swiftify is checked in the System Preferences -> Extensions dialog:
Swiftify's Extension Is Missing From System Preferences
If the Swiftify extension is not listed, move Swiftify for Xcode from the Applications folder to Trash and reinstall Swiftify for Xcode from the AppStore.
Xcode Source Editor is missing from System Preferences
If the Xcode Source Editor item is completely missing from the left pane (see image above), then try one of these solutions:
- Rename Xcode in the Applications folder temporarily and then name it back to Xcode again.
- Move the Xcode app to the Trash and re-install it again from the AppStore.
The first solution is taken from the Stack Overflow answer and it also says that moving Xcode.app out of the Applications folder and then back in can fix the issue. It's worth it to try renaming/moving Xcode before re-installation as it can save you a lot of time.
Finder Extension is missing
If you're missing the Finder extension, try to clean the Trash folder and restart your Mac.
Also, note that "Convert File(s) to Swift" command may appear either in the first-level file or folder popup menu, or grouped under "Services" submenu. This depends on the number of extensions that you have installed.
Broken Spotlight Search
Check out this article on how to fix your Spotlight search. Please read the whole article before following it to get an idea of any side effects that may arise.
Fixing the broken Spotlight search or hard drive (check the paragraph below) may help with the indexing of extensions and therefore getting them to appear in System Preferences, Xcode and/or Finder.
Hard Drive Permission Issues
Troubleshooting this issue is included in the same article found in the paragraph above (Broken Spotlight Search).
Broken hard drive permissions may also be the reason why the extension is missing and thus it is always helpful to run Disk Utility diagnostics to fix these permissions.
If the issue persists, please don't hesitate to contact us.