From 941db54f1c84e99b1d3e029a0d54ecef8037be52 Mon Sep 17 00:00:00 2001 From: Trent Rand Date: Thu, 12 Feb 2026 23:10:39 -0700 Subject: [PATCH] Propagate Apple Team ID through to AppClip target If `ios.appleTeamId` is defined in app.json / app.config.js, it is now propagated to the Clip target too. Previously the developer would need to manually set the Signing Team in Xcode > Signing & Capabilities. --- plugin/src/withXcode.ts | 1 + plugin/src/xcode/addXCConfigurationList.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/plugin/src/withXcode.ts b/plugin/src/withXcode.ts index 716ab98..3bce829 100644 --- a/plugin/src/withXcode.ts +++ b/plugin/src/withXcode.ts @@ -31,6 +31,7 @@ export const withXcode: ConfigPlugin<{ currentProjectVersion: config.ios?.buildNumber || "1", bundleIdentifier, deploymentTarget, + appleTeamId: config.ios?.appleTeamId, }); const productFile = addProductFile(xcodeProject, { diff --git a/plugin/src/xcode/addXCConfigurationList.ts b/plugin/src/xcode/addXCConfigurationList.ts index 682451a..34b1242 100644 --- a/plugin/src/xcode/addXCConfigurationList.ts +++ b/plugin/src/xcode/addXCConfigurationList.ts @@ -8,12 +8,14 @@ export function addXCConfigurationList( currentProjectVersion, bundleIdentifier, deploymentTarget, + appleTeamId, }: { name: string; targetName: string; currentProjectVersion: string; bundleIdentifier: string; deploymentTarget: string; + appleTeamId?: string; }, ) { const commonBuildSettings: Record = { @@ -30,6 +32,7 @@ export function addXCConfigurationList( VERSIONING_SYSTEM: `"apple-generic"`, // TARGETED_DEVICE_FAMILY: `"1,2"`, CODE_SIGN_ENTITLEMENTS: `${targetName}/${targetName}.entitlements`, + ...(appleTeamId ? { DEVELOPMENT_TEAM: appleTeamId } : {}), }; const buildConfigurationsList = [