I got a weird case regarding my VPN app for MacOS, which is kind of rare but I can reproduce it.
Sometime I can see those messages at the Console:
com.myCompany.myApp: Unsatisfied entitlements: com.apple.security.application-groups
Disallowing: com.myCompany.myApp
SandboxViolation: suggestd(507) deny file-read-data /private/var/db/mds/messages/501/se_SecurityMessages
Violation: deny file-read-data /private/var/db/mds/messages/501/se_SecurityMessages
Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.myCompany.myAppExtension" UserInfo={NSDebugDescription=connection to service named com.myCompany.myAppExtension}And my client won't connect.
It seems that it's happening on OS 10.12 but not on OS 10.14.
So I have 2 questions:
1. How can I solve it? I don't know if it's related to application-groups somehow, but I read that maybe I need to use team ID and not $(TeamIdentifierPrefix) but I don't know if it's correct..
2. How can I get this error from the app? because the app is stuck at the "Connecting" stage, and I can't display any error to the user..