Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Stats.app" cannot be opened because the developer cannot be verified #165584

Open
6 tasks done
X-dark opened this issue Jan 30, 2024 · 12 comments
Open
6 tasks done

"Stats.app" cannot be opened because the developer cannot be verified #165584

X-dark opened this issue Jan 30, 2024 · 12 comments
Labels
stale Issue which has not received any feedback for some time.

Comments

@X-dark
Copy link

X-dark commented Jan 30, 2024

Verification

Description of issue

Each time Stats is upgraded by Brew, macOS is complaining about "developer cannot be verified". Uninstalling then reinstalling the app, fixes it (until the next upgrade).
cf exelban/stats#1469 and exelban/stats#1562

Command that failed

Stats.app

Output of command with --verbose --debug

N/A

Output of brew doctor and brew config

❯ brew doctor
Your system is ready to brew.

❯ brew config
HOMEBREW_VERSION: 4.2.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: cfac516ee045d869be34598152e80a11ef2befe7
Last commit: 2 days ago
Core tap JSON: 30 Jan 15:01 UTC
Core cask tap JSON: 30 Jan 15:01 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: ["--appdir=~/Applications"]
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_UPGRADE_GREEDY: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: octa-core 64-bit arm_blizzard_avalanche
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.3-arm64
CLT: 15.1.0.0.1.1700200546
Xcode: N/A
Rosetta 2: false

Output of brew tap

❯ brew tap
homebrew/cask-fonts
homebrew/services
michaelroosz/ssh
theseal/ssh-askpass
@vraravam
Copy link
Contributor

I have the same problem with Stats while none of the other apps exhibit this behavior.
I have the following in my Brewfile:
cask_args appdir: '/Applications', no_quarantine: true

@SMillerDev
Copy link
Member

What does codesign -v <app location> say?

@X-dark
Copy link
Author

X-dark commented Feb 12, 2024

❯ codesign -v -v ~/Applications/Stats.app
/Users/E0376464/Applications/Stats.app: valid on disk
/Users/E0376464/Applications/Stats.app: satisfies its Designated Requirement

@bevanjkay
Copy link
Member

This has been difficult to track as it seems to happen sporadically. We are wondering if it has something to do with the code signing being cached between versions incorrectly.

I haven't been able to reliably replicate the issue.

Copy link

github-actions bot commented Mar 5, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the stale Issue which has not received any feedback for some time. label Mar 5, 2024
@vraravam
Copy link
Contributor

vraravam commented Mar 5, 2024

pinging to remove staleness

@github-actions github-actions bot removed the stale Issue which has not received any feedback for some time. label Mar 5, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the stale Issue which has not received any feedback for some time. label Mar 27, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2024
@bevanjkay bevanjkay reopened this Apr 9, 2024
@bevanjkay
Copy link
Member

@vraravam @X-dark
Can you confirm whether or not you have the "fan helper" installed?

@vraravam
Copy link
Contributor

vraravam commented Apr 9, 2024

i dont think i have that installed @bevanjkay

@Moulick
Copy link
Contributor

Moulick commented Apr 26, 2024

I have the fan helper installed. This issue happens to me mostly after I restart my machine. Spotify and Stats almost always give me developer cannot be verified popup on machine startup.

@bevanjkay
Copy link
Member

It definitely seems to be to do with the login items getting stuck in a state where maybe they are attached to the old version somehow. I haven't been able to find a way to track and fix the issue yet.

@Moulick
Copy link
Contributor

Moulick commented Apr 26, 2024

Any information that we can gather to help figure out the issue?

Just as an side note, if MacOS fails to launch spotify/stats due to this issue, and I click cancel to prevent starting the apps, MacOS repeatedly tries to launch the apps again and again throwing the error popup again and again. Only solution is found is running sudo xattr -rd com.apple.quarantine /Applications/Spotify.app and then it starts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue which has not received any feedback for some time.
Projects
None yet
Development

No branches or pull requests

5 participants