Skip to content

Add scheme build architecture overrides - #1642

Open
arhxam wants to merge 5 commits into
yonaskolb:masterfrom
arhxam:codex/scheme-build-architectures
Open

Add scheme build architecture overrides#1642
arhxam wants to merge 5 commits into
yonaskolb:masterfrom
arhxam:codex/scheme-build-architectures

Conversation

@arhxam

@arhxam arhxam commented Aug 22, 2026

Copy link
Copy Markdown

Summary

  • expose Xcode's scheme-level architecture override through build.buildArchitectures
  • support matchRunDestination, universal, and useTargetSettings in parsing, encoding, generation, and documentation
  • preserve XcodeGen's existing useTargetSettings behavior when the option is omitted

Resolves #1524.

Test plan

  • swift test (76 tests passed)
  • swift test --filter SchemeGeneratorTests/testSchemes
  • swift test --filter SpecLoadingTests
  • generated a project with all three modes and verified the resulting scheme XML uses Automatic, All, and no override attribute, respectively

This pull request was prepared with assistance from OpenAI Codex. I reviewed and tested the changes locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for buildArchitectures of Scheme's Build action

1 participant