seanhenry / SwiftMockGeneratorForXcode

An Xcode extension (plugin) to generate Swift test doubles automatically.
MIT License
748 stars 47 forks source link

Cannot set up Swift Mock Generator for Xcode in System Preferences extensions #32

Closed fmirault closed 4 years ago

fmirault commented 4 years ago

Hello,

I am having issues setting up Swift Mock Generator for Xcode in System Preferences: when I go to System Preferences -> Extensions -> Xcode Source Editor, the app is not listed. Because of this, when I go to Editor, there is no 'Mock Generator' entry.

However, if I go to Security & Privacy > Privacy > Automation, the app is listed and checked.

I have tried to reinstall the app, nothing changed.

Everything worked well until this new year, maybe there is something about capabilities / signing ?

Thank you!

macOS version: macOS Catalina (10.15.1) Xcode versions: 11.3 Swift Mock Generator for Xcode version: v1-beta.24

seanhenry commented 4 years ago

Hi @fmirault

The certificates look ok to me. Try the following command in terminal:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f /Applications/Xcode.app
fmirault commented 4 years ago

Worked perfectly! Thank you!