Skip to content
This repository was archived by the owner on Dec 4, 2026. It is now read-only.

xcodebuild: Xcode's "Continue building after errors" (-IDEBuildingContinueBuildingAfterErrors=YES) - #15

Merged
designgears merged 1 commit into
x86simfrom
t3/parity-bft-twb-fail
Dec 2, 2026
Merged

designgears merged 1 commit into
x86simfrom
t3/parity-bft-twb-fail

Conversation

@designgears

@designgears designgears commented Dec 2, 2026 •

Copy link
Copy Markdown

The stand-in builds the way Xcode 27.2 does by default: the first failed task stops the build, and Swift Build's continueBuildingAfterErrors stays off.

The only way to build past a failure is now Xcode's own setting for it. "Continue building after errors" is the user default IDEBuildingContinueBuildingAfterErrors, and xcodebuild takes user defaults on its command line as -Key=value, so the stand-in looks for -IDEBuildingContinueBuildingAfterErrors=YES. When it's there, the stand-in sets continueBuildingAfterErrors in the build request through swbuild-events.

  • The stand-in's own X86SIM_XCODEBUILD_CONTINUE_AFTER_ERRORS is removed.
  • X86SIM_SWBUILD_CONTINUE_AFTER_ERRORS stays as swbuild-events' internal switch. Its description now says what sets it.

I checked that the parser reads YES, NO and an absent flag correctly. I haven't run Apple's xcodebuild with this argument on the Mac.

x86sim side: x86sim/x86sim#150. In parity, demo-bft-twb-fail, demo-build-fail and demo-bft-twb pass on iOS against the stored goldens. Which targets Apple finishes before its slow failing compile is timing, and the allowlist and docs record it.

🤖 Generated with Claude Code

…tinueBuildingAfterErrors=YES)

The stand-in builds as Xcode 27.2 does by default: the first failed task
stops the build. Xcode's setting for building on (the user default
IDEBuildingContinueBuildingAfterErrors, which xcodebuild takes on its command
line as -IDEBuildingContinueBuildingAfterErrors=YES) now sets Swift Build's
continueBuildingAfterErrors; the stand-in's own
X86SIM_XCODEBUILD_CONTINUE_AFTER_ERRORS is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@designgears
designgears force-pushed the t3/parity-bft-twb-fail branch from bf2266c to d84764c Compare December 2, 2026 09:51
@designgears designgears changed the title xcodebuild: build on past a failed task by default xcodebuild: Xcode's "Continue building after errors" (-IDEBuildingContinueBuildingAfterErrors=YES) Dec 2, 2026
@designgears
designgears merged commit cd9b4c1 into x86sim Dec 2, 2026
1 check passed
@designgears
designgears deleted the t3/parity-bft-twb-fail branch December 3, 2026 01:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant