Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions plugin/src/withXcode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const withXcode: ConfigPlugin<{
currentProjectVersion: config.ios?.buildNumber || "1",
bundleIdentifier,
deploymentTarget,
appleTeamId: config.ios?.appleTeamId,
});

const productFile = addProductFile(xcodeProject, {
Expand Down
3 changes: 3 additions & 0 deletions plugin/src/xcode/addXCConfigurationList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, string> = {
Expand All @@ -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 = [
Expand Down
Loading