Repository navigation
[UniformTypeIdentifiers] Update bindings up to Xcode 27 Beta 3 - #26029
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.
π₯ Failed to compute test summaries on VSTS: test results π₯Failed to compute test summaries: Unable to understand the test result '# |
2 similar comments
π₯ Failed to compute test summaries on VSTS: test results π₯Failed to compute test summaries: Unable to understand the test result '# |
π₯ Failed to compute test summaries on VSTS: test results π₯Failed to compute test summaries: Unable to understand the test result '# |
|
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 |
This comment has been minimized.
This comment has been minimized.
π [CI Build #891d4af] Test results πTest resultsβ All tests passed on VSTS: test results. π All 191 tests passed π Tests countsβ
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