My project consists of main application, an endpoint security extension and a findersync extension. When I try to build it in release mode, the findersync extension is getting built with entitlements of the main app and not one of its own. I am not seeing this issue for endpoint security. I am signing using a "Developer ID Application" signing identity.
When I look into the build logs I am seeing that --entitlement
is used in code sign and the file which is passed as the argument also has the correct entitlement. When I tried manually running the codesign command with the --entitlement
flag, I am still unable to get the correct entitlement.
Is there any difference in the way the codesign happens for the system extension and findersync? What changes do I need to make in order to get the correct entitlement?