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

Error: hardened runtime service kTCCServiceAppleEvents requires entitlement #1468

Closed
gblazex opened this issue Sep 16, 2019 · 7 comments
Closed

Comments

@gblazex
Copy link

gblazex commented Sep 16, 2019

Trying to debug why my users don't get updated.

I'm getting this error in console.

Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events but it is missing for ACC:{ID: org.sparkle-project.Sparkle.Autoupdate, PID[27746], auid: 501, euid: 501, binary path: '/Users/galambalazs/Library/Caches/com.galambalazs.SmoothScroll/org.sparkle-project.Sparkle/SmoothScroll (Autoupdate).app/Contents/MacOS/Autoupdate'}, REQ:{ID: com.apple.appleeventsd, PID[76], auid: 55, euid: 55, binary path: '/System/Library/CoreServices/appleeventsd'}

Can this be the problem?

@gblazex gblazex changed the title hardened runtime service kTCCServiceAppleEvents requires entitlement Error: hardened runtime service kTCCServiceAppleEvents requires entitlement Sep 16, 2019
@kornelski
Copy link
Member

I haven't seen this error before. I don't think we're using AppleEvents, unless they're implicitly used by some other Cocoa API.

Are you using AppleEvents in your host app?

@lwouis
Copy link

lwouis commented Feb 14, 2020

I'm seeing the same error. I'm on Catalina, and Sparkle 1.23.0:

Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events but it is missing for RESP:{ID: org.sparkle-project.Sparkle.Autoupdate, PID[69257], auid: 182020437, euid: 182020437, responsible path: '/Users/louis.pontoise/git_clones/alt-tab-macos/DerivedData/alt-tab-macos/Build/Products/Debug/AltTab.app/Contents/MacOS/AltTab', binary path: '/Users/louis.pontoise/Library/Caches/com.lwouis.alt-tab-macos/org.sparkle-project.Sparkle/AltTab (Autoupdate).app/Contents/MacOS/Autoupdate'}, ACC:{ID: org.sparkle-project.Sparkle.Autoupdate, PID[69257], auid: 182020437, euid: 182020437, binary path: '/Users/louis.pontoise/Library/Caches/com.lwouis.alt-tab-macos/org.sparkle-project.Sparkle/AltTab (Autoupdate).app/Contents/MacOS/Autoupdate'}, REQ:{ID: com.apple.appleeventsd, PID[448], auid: 55, euid: 55, binary path: '/System/Library/CoreServices/appleeventsd'}

@gblazex
Copy link
Author

gblazex commented Feb 14, 2020 via email

@lwouis
Copy link

lwouis commented Feb 14, 2020

@gblazex could you please share what the symptoms were before the change you made? You say the updates are smooth now but what was the issue before?

@gblazex
Copy link
Author

gblazex commented Feb 14, 2020 via email

@jaxony
Copy link

jaxony commented Dec 11, 2021

Also seeing this error on macOS 11.2.3, Sparkle 2 beta.6. The Sandboxed App cannot update.

Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement 
com.apple.security.automation.apple-events but it is missing for accessing={identifier=org.sparkle-project.Sparkle.Updater, 
pid=25312, auid=501, euid=501, binary_path=/Users/xxxx/Library/Caches/xxxx/org.sparkle-
project.Sparkle/Launcher/zxym4oaDM/Updater.app/Contents/MacOS/Updater}, requesting=
{identifier=com.apple.appleeventsd, pid=369, auid=55, euid=55, binary_path=/System/Library/CoreServices/appleeventsd}

@zorgiepoo
Copy link
Member

zorgiepoo commented Dec 11, 2021

That is a red herring. I see that message on successful updates and it appears to not be specific to Sparkle 2.

There should be actual error logs under your app using Sparkle or for Autoupdate in Console. Please file a new issue if you're able to find the logs, or share a binary repro case, and can't figure out the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants