Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1672225
Build error leg or test failing: tvos-arm64 Release AllSubsets_NativeAOT-Apple application linking
Pipeline: runtime-extra-platforms, definition 154, main.
Queue: osx.15.amd64.appletv.open. Target: tvOS arm64; no stress mode.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1672225 (finished 2026-11-10T12:00:18Z; first verified occurrence after the inspected signature-absent build 1670305).
Follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1674593 (finished 2026-11-11T12:00:57Z), same linker diagnostic.
KBE authoring guidance (ci-failure-scan)
Error Detailsis for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.- Build Analysis parses only the single JSON block under
Error Message. ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.- Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.
Error Details
All 160 failing work items in this tvOS NativeAOT leg contain the same missing Swift XPC compatibility symbol, in both source and follow-up builds. The Helix inventory contains 164 work items per leg, so this is a leg-wide linker failure rather than 160 independent test failures. Application signing subsequently fails because linking did not produce the application.
The literal signature is verified in two distinct builds, 1672225 and 1674593; multiple work items in one build count as one occurrence. Representative System.Buffers.Tests consoles from each of the ten preceding builds (1657310, 1658360, 1659071, 1661087, 1663137, 1665174, 1667020, 1668850, 1669782, and 1670305) do not contain this diagnostic. The immediately preceding representative console, build 1670305, exits successfully. This establishes the first observed occurrence, not the introducing commit.
The failing command uses Xcode 26.0.1 and SDK appletvos26.0. The scan does not establish the underlying toolchain or product fix. The existing Apple x64 CryptoKit SHA3 linker KBE has a different symbol and architecture; this issue is scoped to the tvOS arm64 Swift XPC diagnostic.
Run-specific paths and MSBuild project suffixes are omitted below:
The "AppleAppBuilderTask" task failed unexpectedly.
System.Exception: Error: Process returned non-zero exit code: Command line invocation:
/Applications/Xcode_26.0.1.app/Contents/Developer/usr/bin/xcodebuild ONLY_ACTIVE_ARCH=YES CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO -arch arm64 -sdk appletvos -configuration Release
Undefined symbols for architecture arm64:
"__swift_FORCE_LOAD_$_swiftXPC", referenced from:
__swift_FORCE_LOAD_$_swiftXPC_$_pal_swiftbindings in libSystem.Security.Cryptography.Native.Apple.a[2](pal_swiftbindings.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
at Utils.RunProcess(TaskLoggingHelper logger, String path, String args, IDictionary`2 envVars, String workingDir, Boolean ignoreErrors, Boolean silent, MessageImportance debugMessageImportance) in /_/src/tasks/Common/Utils.cs:line 132
at Xcode.BuildAppBundle(String xcodePrjPath, Boolean optimized, String devTeamProvisioning) in /_/src/tasks/AppleAppBuilder/Xcode.cs:line 731
at AppleAppBuilderTask.Execute() in /_/src/tasks/AppleAppBuilder/AppleAppBuilder.cs:line 366
at Microsoft.Build.BackEnd.TaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
Tracking: #124609 discusses related Swift compatibility dependencies in an older classic-linker failure; it is not a Known Build Error for this tvOS leg.
Error Message
{
"ErrorMessage": "\"__swift_FORCE_LOAD_$_swiftXPC\", referenced from:",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log
The literal matches once in the saved canonical source console and once in the representative follow-up console. The passing/skipped negative check is empty. The complete source work-item inventory was collected before grouping the 160 identical linker failures into this single leg-level outcome.
Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.
Note
Generated by GitHub Copilot.
Generated by CI Outer-Loop Failure Scanner · copilot · gpt61 · ~165 AIC · ⌖ ~13 AIC · ⊞ 33.3K · ◷
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Activity
dotnet-policy-service commentedon Nov 12, 2026
Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
See info in area-owners.md if you want to be subscribed.
vcsjones commentedon Nov 12, 2026
I think I have a fix for this. Doing some validation.