Files
Sauci/apps/mobile/targets/widget/expo-target.config.js
T
jjbruntonandClaude Fable 5 604eec3322 fix(ios): restore LiveDrawWidget identity after apple-targets 5 regeneration
The SDK 56 prebuild derived the widget bundle id from its folder name
(com.sauci.app.widget) and pointed CODE_SIGN_ENTITLEMENTS at the ignored
ios/.targets cache. Restore the shipped com.sauci.app.LiveDrawWidget
identity, the tracked entitlements file, and pin bundleIdentifier in the
target config so future prebuilds keep it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 12:07:13 +01:00

16 lines
556 B
JavaScript

/** @type {import('@bacons/apple-targets').ConfigFunction} */
module.exports = (config) => ({
type: "widget",
name: "LiveDrawWidget",
// apple-targets 5.x derives the bundle identifier from the folder name
// ("widget") by default; the store identity must stay LiveDrawWidget.
bundleIdentifier: "com.sauci.app.LiveDrawWidget",
deploymentTarget: "16.0",
entitlements: {
"com.apple.security.application-groups":
config.ios?.entitlements?.["com.apple.security.application-groups"] ?? [
"group.com.sauci.app",
],
},
});