[UniformTypeIdentifiers] Update bindings up to Xcode 27 Beta 3#26029
[UniformTypeIdentifiers] Update bindings up to Xcode 27 Beta 3#26029dalexsoto wants to merge 3 commits into
Conversation
Bind the two UniformTypeIdentifiers APIs introduced in the Xcode 27 SDK:
* UTType.CreateFromIdentifier (string identifier, bool allowUndeclared) —
the new +[UTType typeWithIdentifier:allowUndeclared:] factory method.
* UTTypes.Markdown — the new UTTypeMarkdown
("net.daringfireball.markdown") UTType constant.
Both are available on iOS, tvOS, macOS and Mac Catalyst 27.0, so they
carry [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)].
This resolves the two entries in each of the four
tests/xtro-sharpie/api-annotations-dotnet/*-UniformTypeIdentifiers.todo
files (deleting the now-empty files), adds the cecil documentation
known-failure entry for the new CreateFromIdentifier overload (the
[Field]-backed Markdown property is auto-documented by bgen), and
updates the two macOS CoreCLR-Interpreter app-size expected files (the
only untrimmed variations, which bundle the full Microsoft.macOS.dll).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 2cec0591-45a6-4c75-875c-db8aa369e4be
There was a problem hiding this comment.
Pull request overview
Updates the UniformTypeIdentifiers bindings to match Xcode 27 Beta 3 by adding the newly introduced UTType factory overload and the Markdown UTType constant, and then aligning downstream test/expectation artifacts accordingly.
Changes:
- Added bindings for
+[UTType typeWithIdentifier:allowUndeclared:]and theUTTypeMarkdownfield with 27.0 availability across iOS/tvOS/macOS/Mac Catalyst. - Removed now-resolved XTRO
.todoentries for UniformTypeIdentifiers on all four platforms. - Updated documentation known-failures and macOS CoreCLR Interpreter app-size expected baselines to reflect the new API surface.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/uniformtypeidentifiers.cs | Adds the CreateFromIdentifier(string,bool) binding and UTTypes.Markdown field with 27.0 platform availability attributes. |
| tests/cecil-tests/Documentation.KnownFailures.txt | Adds a known-failure entry for the new UTType.CreateFromIdentifier(string,bool) overload documentation. |
| tests/xtro-sharpie/api-annotations-dotnet/iOS-UniformTypeIdentifiers.todo | Deletes resolved XTRO todo entries after binding the missing selector/field. |
| tests/xtro-sharpie/api-annotations-dotnet/tvOS-UniformTypeIdentifiers.todo | Deletes resolved XTRO todo entries after binding the missing selector/field. |
| tests/xtro-sharpie/api-annotations-dotnet/macOS-UniformTypeIdentifiers.todo | Deletes resolved XTRO todo entries after binding the missing selector/field. |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-UniformTypeIdentifiers.todo | Deletes resolved XTRO todo entries after binding the missing selector/field. |
| tests/dotnet/UnitTests/expected/MacOSX-CoreCLR-Interpreter-size.txt | Updates expected total app bundle size baseline for macOS CoreCLR Interpreter. |
| tests/dotnet/UnitTests/expected/MacOSX-CoreCLR-Interpreter-TrimmableStatic-size.txt | Updates expected total app bundle size baseline for macOS CoreCLR Interpreter (TrimmableStatic). |
This comment has been minimized.
This comment has been minimized.
2 similar comments
|
Oops I did not mean to delete the comment heh |
|
@copilot please revert the changes in tests/dotnet/UnitTests/expected/MacOSX-CoreCLR-Interpreter-size.txt and tests/dotnet/UnitTests/expected/MacOSX-CoreCLR-Interpreter-TrimmableStatic-size.txt |
Co-authored-by: dalexsoto <204671+dalexsoto@users.noreply.github.com>
Done in 891d4af. |
This comment has been minimized.
This comment has been minimized.
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
🔥 [CI Build #891d4af] Test results 🔥Test results❌ Tests failed on VSTS: test results 0 tests crashed, 3 tests failed, 188 tests passed. Failures❌ linker tests (iOS)1 tests failed, 14 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (iOS)1 tests failed, 17 tests passed.Failed tests
Html Report (VSDrops) Download ❌ windows tests1 tests failed, 2 tests passed.Failed tests
Html Report (VSDrops) Download Successes✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Bind the two UniformTypeIdentifiers APIs introduced in the Xcode 27 SDK:
Both are available on iOS, tvOS, macOS and Mac Catalyst 27.0, so they carry [TV (27, 0), Mac (27, 0), iOS (27, 0), MacCatalyst (27, 0)].
This resolves the two entries in each of the four
tests/xtro-sharpie/api-annotations-dotnet/*-UniformTypeIdentifiers.todo files (deleting the now-empty files), adds the cecil documentation known-failure entry for the new CreateFromIdentifier overload (the [Field]-backed Markdown property is auto-documented by bgen), and updates the two macOS CoreCLR-Interpreter app-size expected files (the only untrimmed variations, which bundle the full Microsoft.macOS.dll).
Copilot-Session: 2cec0591-45a6-4c75-875c-db8aa369e4be