Repository navigation
[introspection] Update for recent changes in macOS 27. - #26645
Conversation
Allow the valid genlock synchronization term on macOS and Mac Catalyst, and skip the AVCaptureDevice lens-position bias setter that is declared in the Xcode 27 headers but absent from both runtimes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2a785732-cba6-48b5-a0fc-6530479473e7
There was a problem hiding this comment.
🟢 Approval recommended
The changes are fully reviewed, with only non-blocking maintainability nits noted.
Pull request overview
Updates introspection tests for macOS 27 and Mac Catalyst 27 runtime differences.
Changes:
- Allows
Genlockas a valid platform-specific term. - Skips the unavailable
AVCaptureDevicelens-position setter.
File summaries
| File | Description |
|---|---|
tests/introspection/MacApiSelectorTest.cs |
Skips the missing macOS selector. |
tests/introspection/iOSApiSelectorTest.cs |
Skips the missing Mac Catalyst selector. |
tests/introspection/ApiTypoTest.cs |
Adds the platform-scoped Genlock exception. |
Review details
Suppressed comments (1)
tests/introspection/MacApiSelectorTest.cs:121
- 💡 maintainability — This selector exception is now duplicated in the macOS fixture and in both the simulator and Mac Catalyst branches of
iOSApiSelectorTest. Keeping the same literal and rationale in three target-specific locations makes future updates easy to miss; consider centralizing the selector name or shared predicate in the common selector-test code while retaining the platform-specific conditions.
if (type.Name == "AVCaptureDevice" && selectorName == "setContinuousAutoFocusTrackingLensPositionBias:")
// This setter is declared for macOS 27 but is not implemented in the macOS 27 runtime.
return true;
- Files reviewed: 3/3 changed files
- Comments generated: 1
- Review effort level: Lite
✅ 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 #50c967b] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 264 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 |
Allow the valid genlock synchronization term on macOS and Mac Catalyst, and skip the AVCaptureDevice lens-position bias setter that is declared in the Xcode 27 headers but absent from both runtimes.
Copilot-Session: 2a785732-cba6-48b5-a0fc-6530479473e7