MacOS – Alfred keeps asking for Contacts permission

alfredcontactsmacossoftwaresystem-prefs

I'm not sure what is going on. Every time I access Alfred, I get this dialog box, "Alfred would like to access your contacts." I always have to click "OK" before I can use the program. I have verified that the Alfred checkbox is checked in the Contacts settings in System Preferences. Does anyone have any other ideas?

Alfred

Best Answer

Just like @nobody-in-particular said, your Alfred code was probably changed, therefore the signature that was in place for Alfred is no longer valid. What you have to do is sign the application after the changes to the code.

This worked for me:

sudo codesign --force --deep --sign - "/Applications/Alfred 2.app/Contents/Frameworks/Alfred Framework.framework/Versions/A/Alfred Framework"