osx-sign
osx-sign copied to clipboard
Rethink --pre-auto-entitlements (merge entitlement entries from provisioning profile)
Here's what
electron-osx-signdoes a little differently: Since Electron supports macOS features like Handoff, when app sandbox is enabled,electron-osx-sign(default with--pre-auto-entitlements) will automatically injectcom.apple.developer.team-identifierinto the entitlements to enable these features... and this entry must be whitelisted by a provisioning profile.Therefore,
electron-osx-signrequires provisioning profiles whenever app sandbox is enabled (applicable to MAS development and distribution). They will be picked up automatically if placed in the current working directory.🤔 I think the this entitlements automation behavior will likely change in a next major release of
electron-osx-signso the presence of provisioning profile should be what adds in the whitelisted entitlement entries, instead of when app sandbox is enabled.
Originally posted by @sethlu in https://github.com/electron-userland/electron-builder/issues/897#issuecomment-487414713
I get the same issue. Is there any enhancement in the entitlements automation?
@jabetong1 I'm not sure which issue you're encountering, but a solution is discussed in the original comment https://github.com/electron-userland/electron-builder/issues/897#issuecomment-487414713