More entitlement fixes

zio/stable
Paul Frazee 2024-02-27 18:41:53 -08:00
parent ed2e6d654e
commit 622d0daad6
2 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,7 @@ const withAppEntitlements = config => {
// eslint-disable-next-line no-shadow // eslint-disable-next-line no-shadow
return withEntitlementsPlist(config, async config => { return withEntitlementsPlist(config, async config => {
config.modResults['com.apple.security.application-groups'] = [ config.modResults['com.apple.security.application-groups'] = [
`group.${config.ios.bundleIdentifier}`, `group.bsky.app`,
] ]
return config return config
}) })

View File

@ -13,9 +13,7 @@ const withExtensionEntitlements = (config, {extensionName}) => {
) )
const shareExtensionEntitlements = { const shareExtensionEntitlements = {
'com.apple.security.application-groups': [ 'com.apple.security.application-groups': [`group.bsky.app`],
`group.bsky.app`,
],
} }
fs.mkdirSync(path.dirname(extensionEntitlementsPath), { fs.mkdirSync(path.dirname(extensionEntitlementsPath), {