Skip to content

feat(apple): support team signing on Swift macro SPM targets - #6060

Merged
NathanWalker merged 1 commit into
mainfrom
feat/include-team-signing-for-macros
Jun 15, 2026
Merged

NathanWalker merged 1 commit into
mainfrom
feat/include-team-signing-for-macros

Conversation

@NathanWalker

@NathanWalker NathanWalker commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor
  • support code signing for Swift macro/compiler-plugin SPM targets by ensuring that the DEVELOPMENT_TEAM build setting is always passed to the Xcode build command if specified in the build.xcconfig file.

Summary by CodeRabbit

iOS Build Improvements

  • New Features

    • Added development team configuration support for iOS builds, enabling proper code-signing of Swift macros and compiler plugin targets during device builds.
  • Tests

    • Added test coverage for development team configuration handling.
@coderabbitai

coderabbitai Bot commented Jun 15, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: fcc2885d-a8ea-44f2-a43b-31e1ceeb44bb

📥 Commits

Reviewing files that changed from the base of the PR and between 7976333 and 4b1e104.

📒 Files selected for processing (2)
  • lib/services/ios/xcodebuild-args-service.ts
  • test/services/ios/xcodebuild-args-service.ts

📝 Walkthrough

Walkthrough

getXcodeProjectArgs in xcodebuild-args-service.ts is extended to read DEVELOPMENT_TEAM from the resolved build.xcconfig via IXcconfigService and, when present, append DEVELOPMENT_TEAM=<value> to extraArgs. A new unit test validates this behavior.

Changes

DEVELOPMENT_TEAM xcconfig propagation to xcodebuild args

Layer / File(s) Summary
DEVELOPMENT_TEAM xcconfig read and xcodebuild arg injection
lib/services/ios/xcodebuild-args-service.ts, test/services/ios/xcodebuild-args-service.ts
getXcodeProjectArgs reads DEVELOPMENT_TEAM from the computed build.xcconfig path and conditionally appends DEVELOPMENT_TEAM=<value> to the xcodebuild extra args. The new unit test mocks the xcconfig content with DEVELOPMENT_TEAM=TEAM123 and asserts that value appears in the generated arguments.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐇 Hoppin' through the build config lane,
A DEVELOPMENT_TEAM setting to claim!
From xcconfig it leaps with flair,
Into xcodebuild args it lands with care.
Swift macro plugins, now sign away —
The bunny has made it a code-signed day! 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately describes the main change: adding support for team signing on Swift macro SPM targets by reading and passing the DEVELOPMENT_TEAM value from build.xcconfig.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@NathanWalker
NathanWalker merged commit c2d4a69 into main Jun 15, 2026
4 checks passed
@NathanWalker
NathanWalker deleted the feat/include-team-signing-for-macros branch June 15, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants