seanhenry / SwiftMockGeneratorForXcode

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

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

Closed bertrandprenat closed 4 years ago

bertrandprenat commented 4 years ago

Hello,

I am having issues setting up Swift Mock Generator for Xcode in System Preferences: when I go to Security & Privacy > Privacy > Automation, the app is not listed.

I have tried to reinstall the app, nothing changed.

Can you take a look at this issue?

Thank you!

macOS version: macOS Mojave (10.14.6) Xcode versions: 10.3 and 11.1 Swift Mock Generator for Xcode version: 0.23

seanhenry commented 4 years ago

Hi @bertrandprenat

Thanks for raising this issue.

Could you help me figure this out by answering these questions:

fmirault commented 4 years ago

Same problem for me for no reason, I haven't changed anything but suddenly it stopped working.

seanhenry commented 4 years ago

Hi @fmirault

Just to clarify, what do you mean by:

0.23 is the version that worked perfectly

Do you mean it did work but is not working now? Or did upgrading to 0.23 fix the problem?

Are you running Mojave too?

fmirault commented 4 years ago

Hi @seanhenry

I'm running Mojave, and 0.23 worked well (you know about the slow processing to generate stubs that was corrected in this version), but this morning I have this alert.

I really don't know how to help you more :(

seanhenry commented 4 years ago

Try this update. I think there was a Capabilities problem.

Does that fix your issues?

fmirault commented 4 years ago

Everything works as expected now 🎉 ! Thank you so much for such quick fix ;)

bertrandprenat commented 4 years ago

Good morning @seanhenry!

Thank for your quick response!

To answer your questions:

bertrandprenat commented 4 years ago

It's working now!!! 🤘🏻

seanhenry commented 4 years ago

Great! Thanks to both of you for helping me fix this :)

Raghavendra-Shedole commented 3 years ago

@seanhenry Hi, I am looking for similar kind of extension but bit different naming format and what do i need to do for that? is it possible to change the mustache a bit to achieve it.