-
Notifications
You must be signed in to change notification settings - Fork 50
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
Mock generator not appearing in editor #21
Comments
Hi @moheny Thanks for raising this issue. Run through this check list to make sure everything is set up correctly:
|
Thank you for the fast reply. |
I'm not exactly sure how the OS finds Xcode extensions but I have a feeling it might use spotlight. Make sure it is installed in the |
I believe this is an Xcode problem since the 'Xcode source editor' is not even shown in the menu. |
I've since had this problem myself and managed to fix it. I've added instructions to the README and copied them here for reference: TroubleshootingYou might find that you are not able to see the plugin in the Editor menu or even in the Extensions preference pane. This seems to be caused by installing your Xcode version(s) outside of the App Store. If this happens, open Terminal and run:
If you can't see the plugin in this list then you can reset your list of plugins by running the following in Terminal:
See here for more information. If the above fails, then completely removing the plugin and downloading/installing it again seems to work. |
Didn't work for me :( one day the editor menu item just vanished, and also the Xcode Source Editor entry from Extensions System Preferences panel also vanished. Did the above troubleshooting steps above (with Xcode closed), and reinstalled the mock generator app, and then did the steps above again, then opened Xcode, checked the Extensions panel, restarted Mac, did all the above again.. still no joy. However interestingly, maybe you're on to something about Spotlight, because searching for "Swift Mock Generator for Xcode" in Finder does not show the app in the results (even though it's in I will try to reload the Spotlight index and report back |
Well it works now. I think I had the wrong path to my Xcode when running |
Great, I'm glad it's working 👍 |
It used to work on Xcode 9.+ .
Once I have upgraded to Mojave and Xcode 10, the generator disappears from the editor menu.
Of course I have enabled permission at Check System Preferences -> Security & Privacy -> Privacy.
Also I have tried to reinstall and still not appearing in the menu.
Any suggestion how can it be solved? I really love this extension.
Edit: all of the extension not working for me. Is there anything I can do beside reinstall Xcode?
The text was updated successfully, but these errors were encountered: