Skip to content

[xcode26.4] Merge remote-tracking branch main into xcode26.4#24859

Merged
dalexsoto merged 8 commits intoxcode26.4from
dev/alex/main26.4-merge
Mar 9, 2026
Merged

[xcode26.4] Merge remote-tracking branch main into xcode26.4#24859
dalexsoto merged 8 commits intoxcode26.4from
dev/alex/main26.4-merge

Conversation

@dalexsoto
Copy link
Copy Markdown
Member

No description provided.

rolfbjarne and others added 8 commits March 9, 2026 08:48
)

The _SmeltMetal target lacked Inputs/Outputs attributes, causing Metal
shaders to always be recompiled even when unchanged. This follows the
same cache/stamp file pattern used by _CoreCompileInterfaceDefinitions:

- _BeforeSmeltMetal: deletes cache when any Metal file is newer
- _ReadSmeltedMetal: reads cached _SmeltedMetal items for incremental builds
- _SmeltMetal: now has Inputs/Outputs and writes cache after compilation

Also adds a unit test (MetalShadersNotRecompiled) that verifies
_SmeltMetal and _TemperMetal are skipped on the second build when
no Metal files have changed.

Fixes #24816

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ly=false. Fixes #24582. (#24800)

When _ExportSymbolsExplicitly is false, the linker uses -u flags instead of
-exported_symbols_list, so mtouch-symbols.list is not transferred to the
remote Mac. Don't pass it to strip either, since the file won't exist.

Fixes #24582.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add support for the '@(RuntimeEnvironmentVariable)' item group, which is set when using 'dotnet run' and passing environment variables using '-e|--environment NAME=VALUE' to 'dotnet run'.

This required adding the 'RuntimeEnvironmentVariableSupport' capability to tell 'dotnet run' that we support this.

References:

* dotnet/android#10770
* dotnet/sdk#52664

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Enable nullability.
* Introduce numerous variations of ArrayFromHandle to handle various scenarios  related to nullability:
   * NonNullArrayFromHandle: returns an empty array if the native array is null.
   * ArrayFromHandleDropNullElements: returns an array that will never have any null elements.ç
   * NonNullArrayFromHandleDropNullElements: both of the above.
* Update consumers to use the best variation.
* Add tests for modified APIs that didn't already have tests.

Theoretically these changes may end up changing behavior, if there are native
arrays with NSNull elements, in which case we'll now convert them to managed
arrays without null elements for some APIs, but this should be exceedingly rare.

Contributes towards #17285.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ate if an update is available. (#24854)

`xcodebuild -showComponent ...` can return this:

> Status: installedUpdateAvailable

which we understood to be "Installed", which is incorrect.

So fix the detection to handle this scenario, and (re)install the
toolchain in question.
@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ [CI Build #59fb54d] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 59fb54dbd7a77986d71294e593a9d80488e1d7b4 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ [PR Build #59fb54d] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 59fb54dbd7a77986d71294e593a9d80488e1d7b4 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ [CI Build #59fb54d] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 59fb54dbd7a77986d71294e593a9d80488e1d7b4 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 59fb54dbd7a77986d71294e593a9d80488e1d7b4 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Copy Markdown
Collaborator

🔥 [CI Build #59fb54d] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

1 tests crashed, 0 tests failed, 155 tests passed.

Failures

❌ windows tests

🔥 Failed catastrophically on VSTS: test results - windows (no summary found).

Html Report (VSDrops) Download

Successes

✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 8 tests passed. Html Report (VSDrops) Download
✅ linker: All 44 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 11 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 12 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 11 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Ventura (13): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: 59fb54dbd7a77986d71294e593a9d80488e1d7b4 [PR build]

@dalexsoto dalexsoto merged commit 006c288 into xcode26.4 Mar 9, 2026
45 of 48 checks passed
@dalexsoto dalexsoto added this to the xcode26.4 milestone Mar 20, 2026
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.

4 participants