Hi,
I'm trying to get to grips with my first config profile to pre-approve an accessibility permission to one app used across our organisation but hitting the buffers somewhat.
I've read the how-to article to understand how to extract the necessary information using the codesign command. When I run the command I get the following output:
Executable=/Applications/Clevershare.app/Contents/MacOS/Clevershare_MAC
designated => anchor apple generic and identifier "com.cvte.clevershare.mac" and (certificate leaf[field.1.2.840.113635.100.6.1.9] / exists / or certificate 1[field.1.2.840.113635.100.6.2.6] / exists / and certificate leaf[field.1.2.840.113635.100.6.1.13] / exists / and certificate leaf[subject.OU] = P76M9BE8DQ)
So, in the config profile I used the following line as bundle ID:
Executable=/Applications/Clevershare.app/Contents/MacOS/Clevershare_MAC
...and I used the below as the code requirement:
anchor apple generic and identifier "com.cvte.clevershare.mac" and (certificate leaf[field.1.2.840.113635.100.6.1.9] / exists / or certificate 1[field.1.2.840.113635.100.6.2.6] / exists / and certificate leaf[field.1.2.840.113635.100.6.1.13] / exists / and certificate leaf[subject.OU] = P76M9BE8DQ)
I then added the app/service as 'accessibility', set it to 'enabled' and scoped it to my own device and... nothing happened. I can see the config profile there, but don't see anything in security and privacy in System Preferences.
I suspect I've lifted the wrong info from the codesign output, I wonder if anyone more knowledgable than me might know where I've gone wrong?
By the way, I've also tried the same as above but selected the path to the application as the identifier, but this didn't work either. Many thanks in advance.
Regards,
Robert