Odd one here. I'm having trouble getting a signed, notarised, stapled app to actually run.
It is packaged as a zip file. When uncompressed and run from finder, I get "“iShowU Switcher” cannot be opened because the developer cannot be verified." and "macOS cannot verify that this app is free from malware."
(this is publicly available, https://shinywhitebox.com/download-thanks/17/1 - app is called iShowU Switcher, currently in development)
Here's what I've checked:
- signed
codesign --verify --deep --verbose iShowU\ Switcher.app
iShowU Switcher.app: valid on disk
iShowU Switcher.app: satisfies its Designated Requirement
- notarized
spctl -a -t exec -vvv iShowU\ Switcher.app
iShowU Switcher.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Shiny White Box Limited (PMJ275ZTUX)
- stapled
xcrun stapler validate iShowU\ Switcher.app
Processing: /Users/neil/Downloads/iShowU Switcher.app
The validate action worked!
So it all looks sane to me.
If I remove the quarantine bit (xatter -d -r) then the app runs fine.
Ideas of where to next look?