Skip to content

[introspection] Update for recent changes in macOS 27. - #26645

Merged
rolfbjarne merged 1 commit into
mainfrom
dev/rolf/xcode27-introspection
Sep 16, 2026
Merged

rolfbjarne merged 1 commit into
mainfrom
dev/rolf/xcode27-introspection

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

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

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
Copilot AI lite review requested due to automatic review settings September 16, 2026 14:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 Genlock as a valid platform-specific term.
  • Skips the unavailable AVCaptureDevice lens-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

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
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: 50c967b3519d098c21853f2d8425fcfc2e61fa82 [PR build]

rolfbjarne added a commit that referenced this pull request Sep 16, 2026
… 27. (#26647)

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

Backport of #26645.
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [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
✅ 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. 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. Html Report (VSDrops) Download
✅ introspection: All 7 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 31 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 31 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 31 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 25 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 25 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 25 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 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

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
⚠️ Tests on macOS Golden Gate (27): Tests skipped, incorrect beta version. Html Report (VSDrops) Download

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: 50c967b3519d098c21853f2d8425fcfc2e61fa82 [PR build]

@rolfbjarne
rolfbjarne merged commit ed35cf1 into main Sep 16, 2026
56 checks passed
@rolfbjarne
rolfbjarne deleted the dev/rolf/xcode27-introspection branch September 16, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copilot ready-to-review This PR is ready to review/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants