This article addresses the problem of the Swiftify Xcode extension being missing from the Editor menu or the Finder extension 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, 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 Extension is Disabled
If the Editor -> Swiftify menu has disappeared from Xcode, the first step is to make sure that Swiftify is checked in the System Preferences -> Xcode Source Extensions dialog box:
Swiftify Extension is Missing from System Preferences -> Xcode Source Editor
If the Swiftify extension is not listed in System Preferences, as seen in the image below, 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 is missing from the left pane (see image above), try one of these solutions before resorting to a reinstallation:
- If you have multiple copies of Xcode, extensions can stop working altogether. This article suggests re-registering your primary copy of Xcode with Launch Services as shown below:
- If the above solution does not work, navigate to the Applications folder, rename Xcode, change the name back to Xcode, or move Xcode.app out of the Applications folder, then back in, as described by this Stack Overflow answer.
If the above solutions do not help, move the Xcode app to the Trash and re-install it from the AppStore.
Finder Extension is Missing
If the Finder extension is missing, try emptying the Trash folder and restarting your Mac.
Also, note that the "Convert File(s) to Swift" command may appear in the first-level file folder pop-up menu or under the "Services" submenu, depending on the number of extensions installed.
Broken Spotlight Search
Fixing a broken Spotlight search or hard drive (see the paragraph below) may help with the indexing of extensions, so they appear in System Preferences, Xcode and/or Finder.
See this article on how to fix a broken Spotlight search. Before attempting this, read the whole article to get an idea of the unwanted side effects that may occur.
Hard Drive Permission Issues
The extension could be missing due to broken hard drive permissions. If this is the case, running Disk Utility diagnostics can repair these permissions.
Troubleshooting this issue is also covered in the article on Broken Spotlight Search.
If the issue persists, please contact us.