Skip to content

build(client): use per-platform team IDs for iOS and macOS signing#2718

Merged
fortuna merged 1 commit intomasterfrom
feat/apple-per-platform-team-id
Mar 2, 2026
Merged

build(client): use per-platform team IDs for iOS and macOS signing#2718
fortuna merged 1 commit intomasterfrom
feat/apple-per-platform-team-id

Conversation

@fortuna
Copy link
Collaborator

@fortuna fortuna commented Mar 1, 2026

iOS and macOS (Mac Catalyst) require different Apple Developer team IDs. Use Xcode's SDK-conditional build setting syntax to set the iOS team (WP4DKSWWZM) as the default and override with the macOS team (QT8Z3Q9V3A) when building against the macOS SDK.

Also supports a DEVELOPMENT_TEAM env var override in the build script, so external contributors can set their own team ID without editing project files.

iOS and macOS (Mac Catalyst) require different Apple Developer team IDs.
Use Xcode's SDK-conditional build setting syntax to set the iOS team
(WP4DKSWWZM) as the default and override with the macOS team (QT8Z3Q9V3A)
when building against the macOS SDK.

Also supports a DEVELOPMENT_TEAM env var override in the build script,
so external contributors can set their own team ID without editing
project files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fortuna fortuna requested review from Copilot and ohnorobo March 1, 2026 03:09
@fortuna fortuna marked this pull request as ready for review March 1, 2026 03:09
@fortuna fortuna requested a review from a team as a code owner March 1, 2026 03:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Apple code-signing configuration so iOS and macOS (Mac Catalyst) builds use different Apple Developer Team IDs by default, while allowing external contributors to override the team ID via an environment variable during command-line release builds.

Changes:

  • Add DEVELOPMENT_TEAM environment variable override to the Cordova Apple release build (xcodebuild archive) invocation.
  • Update Xcode project build settings to default to the iOS team ID and override to the macOS team ID when building with the macOS SDK.
  • Document the new DEVELOPMENT_TEAM override for external contributors.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
client/src/cordova/build.action.mjs Adds optional DEVELOPMENT_TEAM=... argument to xcodebuild for release builds.
client/src/cordova/apple/xcode/Outline.xcodeproj/project.pbxproj Sets iOS default team ID and uses SDK-conditional override for macOS builds.
client/src/cordova/apple/OutlineLib/OutlineLib.xcodeproj/project.pbxproj Applies the same per-SDK team ID approach for the library/extension project.
client/src/cordova/apple/README.md Documents the env var override for command-line release builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ohnorobo
Copy link
Contributor

ohnorobo commented Mar 2, 2026

Note for our future selves:

Copy link
Contributor

@ohnorobo ohnorobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this will help with unblocking.

@fortuna fortuna merged commit dc86c21 into master Mar 2, 2026
27 checks passed
@fortuna fortuna deleted the feat/apple-per-platform-team-id branch March 2, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants