Skip to content

[src] Remove CIFilterGenerator from iOS and Mac Catalyst.#25630

Merged
rolfbjarne merged 3 commits into
mainfrom
dev/rolf/cifiltergenerator-removal
Jun 4, 2026
Merged

[src] Remove CIFilterGenerator from iOS and Mac Catalyst.#25630
rolfbjarne merged 3 commits into
mainfrom
dev/rolf/cifiltergenerator-removal

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

This is a macOS-only class.

But keep obsolete APIs throwing PlatformNotSupportedException until XAMCORE_5_0.

This is a macOS-only class.

But keep obsolete APIs throwing PlatformNotSupportedException until XAMCORE_5_0.
Copilot AI review requested due to automatic review settings June 3, 2026 10:31
@rolfbjarne rolfbjarne enabled auto-merge (squash) June 3, 2026 10:31
@rolfbjarne

Copy link
Copy Markdown
Member Author

/azp run

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.

Pull request overview

Removes the CIFilterGenerator binding from iOS and Mac Catalyst (keeping it macOS-only), while preserving source compatibility pre-XAMCORE_5_0 via an obsolete API surface that throws PlatformNotSupportedException.

Changes:

  • Removed CIFilterGenerator from iOS/Mac Catalyst xtro-sharpie ignore lists.
  • Updated the CoreImage binding definitions so CIFilterGenerator is macOS-only.
  • Added a legacy (pre-XAMCORE_5_0) iOS/Mac Catalyst stub type that throws PlatformNotSupportedException.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-CoreImage.ignore Removes ignore entry now that CIFilterGenerator is no longer bound for Mac Catalyst in .NET.
tests/xtro-sharpie/api-annotations-dotnet/iOS-CoreImage.ignore Removes ignore entry now that CIFilterGenerator is no longer bound for iOS in .NET.
tests/introspection/ApiSelectorTest.cs Removes special-case selector skipping for CIFilterGenerator.
src/frameworks.sources Includes the new CoreImage/CIFilterGenerator.cs source file in the build.
src/CoreImage/CIFilterGenerator.cs Adds an obsolete, PNSE-throwing stub for legacy iOS/Mac Catalyst builds (pre-XAMCORE_5_0).
src/coreimage.cs Makes the CIFilterGenerator binding macOS-only by removing iOS/Mac Catalyst availability.

Comment thread src/CoreImage/CIFilterGenerator.cs
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #7290d27] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 7290d27710e503a7076066ed3c611a03e56e5a9e [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #7290d27] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 7290d27710e503a7076066ed3c611a03e56e5a9e [PR build]

@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: 7290d27710e503a7076066ed3c611a03e56e5a9e [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #7290d27] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 7290d27710e503a7076066ed3c611a03e56e5a9e [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [CI Build #7290d27] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

0 tests crashed, 16 tests failed, 177 tests passed.

Failures

❌ introspection tests

4 tests failed, 2 tests passed.

Failed tests

  • introspection/iOS - simulator/Debug: LaunchTimedOut
  • introspection/iOS - simulator/Debug (ARM64): LaunchTimedOut
  • introspection/tvOS - simulator/Debug: LaunchTimedOut
  • introspection/tvOS - simulator/Debug (ARM64): LaunchTimedOut

Html Report (VSDrops) Download

❌ linker tests (tvOS)

11 tests failed, 0 tests passed.

Failed tests

  • dont link/tvOS - simulator/Debug: LaunchTimedOut
  • dont link/tvOS - simulator/Release: LaunchTimedOut
  • link sdk/tvOS - simulator/Debug: LaunchTimedOut
  • link sdk/tvOS - simulator/Release: LaunchTimedOut
  • link all/tvOS - simulator/Debug: LaunchTimedOut
  • link all/tvOS - simulator/Release: LaunchTimedOut
  • link all/tvOS - simulator/Debug (don't bundle original resources): LaunchTimedOut
  • trimmode copy/tvOS - simulator/Debug: LaunchTimedOut
  • trimmode copy/tvOS - simulator/Release: LaunchTimedOut
  • trimmode link/tvOS - simulator/Debug: LaunchTimedOut
  • trimmode link/tvOS - simulator/Release: LaunchTimedOut

Html Report (VSDrops) Download

❌ Tests on macOS Tahoe (26) tests

1 tests failed, 4 tests passed.

Failed tests

  • monotouch-test: Failed (exit code 2)
    • No test failure details available. stderr output:
      • 2026-06-04 07:13:27.042 monotouchtest[72567:16714881] [PASS] VeryGeneric
      • 2026-06-04 07:13:27.043 monotouchtest[72567:16714881] [PASS] WrapperTypeLookupTest
      • 2026-06-04 07:13:27.043 monotouchtest[72567:16714881] Xamarin.Tests.RuntimeTest : 445.061 ms
      • 2026-06-04 07:13:27.043 monotouchtest[72567:16714881] Xamarin.Tests : 445.1138 ms
      • 2026-06-04 07:13:27.044 monotouchtest[72567:16714881] Xamarin : 452.5899 ms
      • 2026-06-04 07:13:27.044 monotouchtest[72567:16714881] bindings-test : 452.6576 ms
      • 2026-06-04 07:13:27.049 monotouchtest[72567:16713725] Tests run: 3601 Passed: 3585 Inconclusive: 16 Failed: 0 Ignored: 169
      • 2026-06-04 07:13:27.050 monotouchtest[72567:16713725] AutoRun (): completed test run on main thread
      • 2026-06-04 07:13:27.050 monotouchtest[72567:16713725] Exiting test run with success
      • make: *** [exec-monotouch-test] Error 1

Html Report (VSDrops) Download

Successes

✅ 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
✅ linker (iOS): All 11 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 11 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 11 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 23 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 23 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 20 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 Monterey (12): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Ventura (13): All 5 tests passed. Html Report (VSDrops) Download
✅ 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

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 7290d27710e503a7076066ed3c611a03e56e5a9e [PR build]

@rolfbjarne

Copy link
Copy Markdown
Member Author

The test failures are unrelated.

@rolfbjarne rolfbjarne merged commit 15b2113 into main Jun 4, 2026
51 of 55 checks passed
@rolfbjarne rolfbjarne deleted the dev/rolf/cifiltergenerator-removal branch June 4, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants