jason0x43 / alfred-weather

Get weather forecast using Alfred
MIT License
157 stars 20 forks source link

"alfred-weather" can't be opened because Apple cannot check it for malicious software #18

Closed technicalpickles closed 7 months ago

technicalpickles commented 4 years ago

I updated to the most recent release, and I'm seeing this:

image

This software needs to be updated. Contact the developer for more information.

I'm on macOS 10.15.6

jeffbyrnes commented 4 years ago

@technicalpickles this is part of security changes made in macOS 10.15.0. Apple now requires binaries to be signed via their developer program, or it will show a message like this & prevent their being opened.

There is a workaround, however!

After seeing that message:

  1. Open System Preferences
  2. Open “Security & Privacy” prefs pane
  3. Switch to the “General” tab
  4. In the lower section, “Allow apps downloaded from:”, there will be a message to the right with an “Open anyway” button; click that, and authorize it via password or fingerprint.
  5. Try running the alfred-weather workflow again, and it should work.
noahmaranesi commented 4 years ago

Alternatively, you can:

  1. Left click "Show in Finder"
  2. Right click alfred-weather executable
  3. Hold down Control on keyboard, and left click "Open"
  4. Left click "Open"

The process has no been manually opened and macOS says "it's OK to open in future". You can quit Terminal and everything should be fine.

I always find it much faster to do rather than via System Preferences because sometimes you need to open the app/process again, as well as input your password to unlock System Preferences. It might be worth adding a note/tutorial on how to do this for future users, or even link to this issue.

jeffbyrnes commented 4 years ago

@noahmaranesi, does that work on macOS 10.15 Catalina? My experience has been that the simpler workflow you’re referring to had been removed. But maybe it’s a bit harder to trigger than it used to be is all?

noahmaranesi commented 4 years ago

@jeffbyrnes, I believe so. I know it works on at least macOS Catalina!

jason0x43 commented 7 months ago

Current releases are notarized, so this shouldn't be an issue.