Closed ReenigneArcher closed 7 months ago
Hello @ReenigneArcher. The Macports is not part of our software installed list and we wouldn't like to add permission for this application. Also the current images of macOS 13 and 14 allow runtime TCC.db updating, so you can continue using your workaround. If you have any other questions feel free to reach us.
I'm aware that Macports is not part of the included software, but I assume the /opt/off/opt/runner/provisioner/provisioner
is?
Description
When building my application in macOS-13 or macOS-14 using Macports, unit tests fail due to missing permission of kTCCServiceScreenCapture.
I ran the below code before and after my test code, and discovered the cause.
Before results:
After results:
The difference being that
/opt/off/opt/runner/provisioner/provisioner
has requested permission after my test.For some reason Macports is using
/opt/off/opt/runner/provisioner/provisioner
on macOS-13 and 14, but not on 12.As a workaround, I did the following.
Platforms affected
Runner images affected
Image version and build link
Image: macos-13 Version: 20240219.1 Included Software: https://github.com/actions/runner-images/blob/macos-13/20240219.1/images/macos/macos-13-Readme.md Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20240219.1
Is it regression?
Unknown.
Expected behavior
Permission should already be defined for
/opt/off/opt/runner/provisioner/provisioner
like the/usr/local/opt/runner/provisioner/provisioner
.Actual behavior
Permission is not defined.
Repro steps