-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Description
After upgrading from Xcode 16.1 to Xcode 26.0, the build step using xcode@5 in our Azure pipeline has experienced a significant regression.
With Xcode 16.1, the build consistently completed in about 15 minutes.
With Xcode 26.0, the same build now takes at least 40 minutes under the same pipeline configuration.
This large increase in build time indicates a potential performance regression in the Xcode 26 build environment, which directly impacts our CI/CD efficiency.
The Compilation Phase is the most time-consuming stage, which corresponds to the xcode@5 step.
Here are the specific details I summarized from the build logs.
📊 Absolute Build Time Differences: Xcode 16.1 vs 26.0
Overall Time Comparison
-
Xcode 16.1 total duration: 14m 14s (854s)
-
Xcode 26.0 total duration: 40m 55s (2455s)
-
Total difference: +26m 41s (1601s)
🔍 Stage-by-Stage Breakdown
-
Package Resolution
-
Xcode 16.1:
-
Start: 08:09:55
-
End: 08:12:47
-
Duration: 2m 52s (172s)
-
-
Xcode 26.0:
-
Start: 07:59:21
-
End: 08:06:52
-
Duration: 7m 31s (451s)
-
-
Absolute difference: +4m 39s (+279s)
-
Compilation Phase
-
Xcode 16.1:
-
Start: 08:13:22 (≈35s after package resolution)
-
End: 08:24:07
-
Duration: 10m 45s (645s)
-
-
Xcode 26.0:
-
Estimated start: 08:07:30 (≈38s after package resolution)
-
End: 08:40:10
-
Duration (est.): 32m 40s (1960s)
-
-
Absolute difference: +21m 55s (+1315s)
-
SDK Compatibility Overhead
Based on analysis, the new SDK introduces extra processing time due to:
-
Longer module precompilation
-
Extended dependency adaptation
-
Estimated additional time: +10m 42s (+642s)
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 22.04
- Ubuntu 24.04
- macOS 13
- macOS 13 Arm64
- macOS 14
- macOS 14 Arm64
- macOS 15
- macOS 15 Arm64
- macOS 26 Arm64
- Windows Server 2019
- Windows Server 2022
- Windows Server 2025
Image version and build link
Image: macos-15
Version: 20250917.1898
Is it regression?
Yes
Expected behavior
I think the overall build process should take roughly the same amount of time as it did with Xcode 16.1, with a total duration of around 15 minutes and a pure packaging time of approximately 10 minutes.
Actual behavior
total duration of around at lest 40+mins and a pure packaging time of approximately 30 minutes.
Repro steps
On a pipeline that normally builds successfully with macOS 14 arm64 and Xcode 16.1:
1.Select macOS 15
2.Select Xcode 26
3.Download the Metal tool
4.Trigger this build pipeline