Posts

Post not yet marked as solved
7 Replies
0 Views
So I didn't have the NSEndpointSecurityMachServiceName defined previously. I added it with the value $(TeamIdentifierPrefix)com.plato.logger.xpc and still received the same error message. I confirmed that I am using the correct service name with the NSXPCConnection constructor. The only other message I noticed in the console app was from taskgated-helper: "Unsatisfied entitlements: com.apple.security.application-groups". I re-confirmed that the entitlements for both the application and the extension have the "App Groups" key. The first entry is set to $(TeamIdentifierPrefix)group.com.plato . I also confirmed that the App Groups capability was enabled for the application and extension app ID, in the apple developer certificates console. I'm really not sure what the issue is...
Post not yet marked as solved
7 Replies
0 Views
Both the application and the extension are NOT sandboxed. I can confirm that the extension is running with ps and launchctl list. This is where its confusing. The output from launchctl shows that the mach service is TEAMID.com.plato.logger. But if I run launchctl procinfo pid the XPC endpoint shown in the output is TEAMID.com.plato.logger.xpc . Which is the correct name to use with the constructor for NSXPCConnection ?