Skip to content

[xcode26.2] Merge main into xcode26.2#24238

Merged
dalexsoto merged 26 commits intoxcode26.2from
dev/alex/main-xc26.2
Nov 13, 2025
Merged

[xcode26.2] Merge main into xcode26.2#24238
dalexsoto merged 26 commits intoxcode26.2from
dev/alex/main-xc26.2

Conversation

@dalexsoto
Copy link
Member

No description provided.

rolfbjarne and others added 26 commits November 6, 2025 12:51
…ave a managed peer yet. Fixes #24111. (#24189)

Say we have:

1. A native type with an init method.
2. A managed binding for that native type, but the init method isn't
bound.
3. A managed subclass of the managed binding (also without an
implementation for the init method).

In this case, native code can create a native instance of the subclass,
but no
managed code is executed, which means there won't be a corresponding
managed
peer either.

This became a problem in our ConformsToProtocol override/implementation,
because recently it changed to just return 'false' if we couldn't find a
managed peer for a native instance.

The fix is to create the managed instance in that case (by doing what we
did
before: call "Runtime.GetNSObject" on the native handle).

Fixes #24111.

---------

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
This is file 3 of 47 files with nullability disabled in Foundation.

Also, by Copilot:

* Add missing xml comments.
* Improve xml comments with proper formatting and see cref attributes.

Contributes towards #17285.
…Fixes #24043. (#24181)

Since this may result in unintuitive behavior (library projects are
built differently than executable projects, so code that works in an
executable project may not compile when moved to a library project), an
escape hatch was implemented as well.

One unintuitive behavior was when building an executable project with a
library project from Windows: if the library project needs the remote
connection, it would use a different workload, and different remote
connection, than the executable project, which just wouldn't work. So we
don't enable this new behavior when library projects need the remote
connection (which is when bundle resources are precompiled for the
library project; aka when `BundleOriginalResources=false` - note that
it's enabled by default in .NET 10, so developers must opt in to run
into this problem and thus not getting this new behavior).

Fixes #24043.

---------

Co-authored-by: GitHub Copilot <copilot@github.com>
Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
… are stored. Fixes #24052. (#24198)

They're always stored locally.

This fixes an issue when building apps with extensions from Windows.

There are no tests, because there's another issue that breaks building
extensions from Windows (#23516), but the customer validated that the
fix
works for him, and the fix also makes sense.

Fixes #24052.
…ns in known failure strings.

This way we don't have to update the known failures every time we bump the assembly versions.
This is file 4 of 47 files with nullability disabled in Foundation.

Also (by Copilot):

* Improve XML documentation and nullability in NSDirectoryEnumerator.
* Remove placeholder 'To be added.' comments and replace with proper documentation.
* Remove unnecessary whitespace after triple-slash in XML comments.
* Add proper <see cref> attributes for type references.
* Add comprehensive documentation for all IEnumerator implementations.
* Document exception conditions for Reset and Current properties.

Contributes towards #17285.
…ion of the 'copySceneKitAssets' executable.

Also don't set the PATH or XCODE_DEVELOPER_USR_PATH variables anymore, it's
not needed.
We get suggestions in the doc publishing workflow about 'remarks' in enum
fields (they're ignored), so avoid this by not having 'remarks' in enum
fields.
)

1. This shouldn't ever be necessary.
2. If it were necessary, it should always be necessary.
3. Powershell's exit code handling is 🤯

For reference / amusement / scaring children: https://stackoverflow.com/a/57468523.
We need to use relative paths in learn.microsoft.com links.
@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #1f4cf14] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build #1f4cf14] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@vs-mobiletools-engineering-service2
Copy link
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: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #1f4cf14] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #1f4cf14] Tests on macOS X64 - Mac Sonoma (14) passed 💻

All tests on macOS X64 - Mac Sonoma (14) passed.

Pipeline on Agent
Hash: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #1f4cf14] Tests on macOS M1 - Mac Monterey (12) passed 💻

All tests on macOS M1 - Mac Monterey (12) passed.

Pipeline on Agent
Hash: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #1f4cf14] Tests on macOS arm64 - Mac Sequoia (15) passed 💻

All tests on macOS arm64 - Mac Sequoia (15) passed.

Pipeline on Agent
Hash: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #1f4cf14] Tests on macOS M1 - Mac Ventura (13) passed 💻

All tests on macOS M1 - Mac Ventura (13) passed.

Pipeline on Agent
Hash: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #1f4cf14] Tests on macOS arm64 - Mac Tahoe (26) passed 💻

All tests on macOS arm64 - Mac Tahoe (26) passed.

Pipeline on Agent
Hash: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@dalexsoto dalexsoto enabled auto-merge November 13, 2025 00:00
@vs-mobiletools-engineering-service2
Copy link
Collaborator

🚀 [CI Build #1f4cf14] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 119 tests passed 🎉

Tests counts

✅ 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. [attempt 2] 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. [attempt 3] Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker: All 44 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 9 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 11 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 9 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 9 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: 1f4cf1422e37d744601e06bd9618aaceb950c2ba [PR build]

@dalexsoto dalexsoto merged commit de2cda6 into xcode26.2 Nov 13, 2025
45 checks passed
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.

3 participants