[SensitiveContentAnalysis] Update bindings up to Xcode 27.0 Beta 3 - #26272
Conversation
Bind the Xcode 27 sensitive-content classification APIs by adding the SCSensitiveContentType smart enum and exposing both the native detected content-type set and its strongly typed HashSet wrapper. Apply the iOS, macOS, and Mac Catalyst 27.0 availability from the SDK headers, preserve tvOS unavailability, remove the resolved xtro todo files, and extend the existing documentation known-failures baseline for the new public surface. Validated with full clean repository builds, xtro and cecil validation, iOS/tvOS/macOS introspection, focused Mac Catalyst introspection, and the filtered app-size test suite. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5f3d52f5-f7d9-4417-9684-10bf51003c01
There was a problem hiding this comment.
Pull request overview
Updates the SensitiveContentAnalysis bindings to align with Xcode 27 Beta 3, adding strong typing for newly exposed sensitive-content classifications and exposing the detected-types surface area across supported platforms.
Changes:
- Add
SCSensitiveContentTypeas an NSString-backed strongly typed enum (sexually explicit, gore/violence) and exposeSCSensitivityAnalysis.WeakDetectedTypes+ wrappedDetectedTypes. - Remove resolved XTRO Sharpie
.todoentries for SensitiveContentAnalysis on iOS/macOS/Mac Catalyst. - Update the Cecil documentation known-failures baseline for the newly exposed public API surface.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/xtro-sharpie/api-annotations-dotnet/macOS-SensitiveContentAnalysis.todo | Removes resolved XTRO TODO entries for macOS SensitiveContentAnalysis. |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-SensitiveContentAnalysis.todo | Removes resolved XTRO TODO entries for Mac Catalyst SensitiveContentAnalysis. |
| tests/xtro-sharpie/api-annotations-dotnet/iOS-SensitiveContentAnalysis.todo | Removes resolved XTRO TODO entries for iOS SensitiveContentAnalysis. |
| tests/cecil-tests/Documentation.KnownFailures.txt | Adds baseline entries for the new public enum/type members and properties. |
| src/sensitivecontentanalysis.cs | Adds SCSensitiveContentType and SCSensitivityAnalysis detected-types API surface. |
✅ 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 #0e2625b] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 200 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 |
Summary
SCSensitiveContentTypeas a strongly typed NSString-backed enum with the sexually explicit and gore/violence classifications.SCSensitivityAnalysis.WeakDetectedTypesand the strongly typedDetectedTypesset on iOS, macOS, and Mac Catalyst 27.0.Validation
make worldbefore implementation and again after the binding changes.CLLocationButtonTCC crash.