SwiftBindings.Apple.MatterSupport
27.2.0
dotnet add package SwiftBindings.Apple.MatterSupport --version 27.2.0
NuGet\Install-Package SwiftBindings.Apple.MatterSupport -Version 27.2.0
<PackageReference Include="SwiftBindings.Apple.MatterSupport" Version="27.2.0" />
<PackageVersion Include="SwiftBindings.Apple.MatterSupport" Version="27.2.0" />
<PackageReference Include="SwiftBindings.Apple.MatterSupport" />
paket add SwiftBindings.Apple.MatterSupport --version 27.2.0
#r "nuget: SwiftBindings.Apple.MatterSupport, 27.2.0"
#:package SwiftBindings.Apple.MatterSupport@27.2.0
#addin nuget:?package=SwiftBindings.Apple.MatterSupport&version=27.2.0
#tool nuget:?package=SwiftBindings.Apple.MatterSupport&version=27.2.0
SwiftBindings.Apple.MatterSupport
Native .NET bindings for Apple's MatterSupport framework — the Swift-level MatterAddDeviceRequest flow that drives Apple's system commissioning UI for Matter accessories.
📖 Full usage guide → — Swift→C# naming, the add-device request flow, device criteria, and the cross-module
Matter.MTRSetupPayloadreference.
MatterAddDeviceRequest.setupPayload returns Matter.MTRSetupPayload, so this package takes a NuGet dependency on SwiftBindings.Apple.Matter. dotnet add package SwiftBindings.Apple.MatterSupport pulls both in.
Installation
dotnet add package SwiftBindings.Apple.MatterSupport
Requirements
- .NET 10 with Xcode 26 or 27, or .NET 11 with Xcode 27.2. Install the .NET workload released for your Xcode version (see Choosing .NET and Xcode).
- Target framework: Use versionless
net10.0-iosornet11.0-ios(or the matching-macosor-maccatalystTFM). The package includes a build for each supported .NET and Xcode pairing, and NuGet restores the one matching your toolchain. Pinning an older platform version (for example,net10.0-ios18.0) fails restore withNU1202. The target framework sets the .NET platform version you compile against, not your app's deployment minimum. - Deployment minimum is separate — set your app's real minimum OS with
<SupportedOSPlatformVersion>(independent of the TFM above). MatterSupport's own runtime floor is iOS 16.1+ / macOS 13.3+ / Mac Catalyst 16.4+ (MatterAddDeviceRequest.isSupportedrequires iOS 17+); individual APIs that need a newer OS are gated by generated[SupportedOSPlatform]attributes, and the C# compiler flags a call that isn't valid for your target. - A Matter entitlement on the consuming app and the corresponding
com.apple.developer.matter.allow-setup-payloadcapability
Usage
using Matter;
using MatterSupport;
using var payload = new MTRSetupPayload("MT:U9VJ0OMV172PX813000");
using var home = new MatterAddDeviceRequest.Home("Living Room");
using var topology = new MatterAddDeviceRequest.TopologyInfo("My Ecosystem", new[] { home });
using var request = new MatterAddDeviceRequest(topology, setupPayload: payload);
await request.PerformAsync();
The MatterAddDeviceRequest.perform() flow drives Apple's system UI for adding a Matter accessory; it can only be invoked on a real device with HomeKit configured. The bindings expose the same shape as Swift — see MatterAddDeviceRequest for the field-level reference.
Documentation
- Usage guide (wiki) — full C# walkthrough of the binding surface
- Apple MatterSupport framework
- Apple Matter framework
How It Works
These bindings are auto-generated by Swift Dotnet Bindings using .NET's native Swift interop via the SwiftBindings SDK. The cross-module Matter.MTRSetupPayload reference is satisfied by the sibling SwiftBindings.Apple.Matter package.
License
The bindings are MIT licensed. MatterSupport is part of the Apple SDK; refer to Apple's licensing for the underlying framework.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.0 is compatible. net10.0-ios27.2 is compatible. net10.0-maccatalyst26.0 is compatible. net10.0-maccatalyst27.2 is compatible. net10.0-macos26.0 is compatible. net10.0-macos27.2 is compatible. net11.0-ios27.2 is compatible. net11.0-maccatalyst27.2 is compatible. net11.0-macos27.2 is compatible. |
-
net10.0-ios26.0
- SwiftBindings.Apple (>= 27.2.0)
- SwiftBindings.Apple.Matter (>= 27.2.0)
- SwiftBindings.Runtime (>= 11.0.0 && < 11.1.0)
-
net10.0-ios27.2
- SwiftBindings.Apple (>= 27.2.0)
- SwiftBindings.Apple.Matter (>= 27.2.0)
- SwiftBindings.Runtime (>= 11.0.0 && < 11.1.0)
-
net10.0-maccatalyst26.0
- SwiftBindings.Apple (>= 27.2.0)
- SwiftBindings.Apple.Matter (>= 27.2.0)
- SwiftBindings.Runtime (>= 11.0.0 && < 11.1.0)
-
net10.0-maccatalyst27.2
- SwiftBindings.Apple (>= 27.2.0)
- SwiftBindings.Apple.Matter (>= 27.2.0)
- SwiftBindings.Runtime (>= 11.0.0 && < 11.1.0)
-
net10.0-macos26.0
- SwiftBindings.Apple (>= 27.2.0)
- SwiftBindings.Apple.Matter (>= 27.2.0)
- SwiftBindings.Runtime (>= 11.0.0 && < 11.1.0)
-
net10.0-macos27.2
- SwiftBindings.Apple (>= 27.2.0)
- SwiftBindings.Apple.Matter (>= 27.2.0)
- SwiftBindings.Runtime (>= 11.0.0 && < 11.1.0)
-
net11.0-ios27.2
- SwiftBindings.Apple (>= 27.2.0)
- SwiftBindings.Apple.Matter (>= 27.2.0)
- SwiftBindings.Runtime (>= 11.0.0 && < 11.1.0)
-
net11.0-maccatalyst27.2
- SwiftBindings.Apple (>= 27.2.0)
- SwiftBindings.Apple.Matter (>= 27.2.0)
- SwiftBindings.Runtime (>= 11.0.0 && < 11.1.0)
-
net11.0-macos27.2
- SwiftBindings.Apple (>= 27.2.0)
- SwiftBindings.Apple.Matter (>= 27.2.0)
- SwiftBindings.Runtime (>= 11.0.0 && < 11.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 27.2.0 | 97 | 11/30/2026 |
| 26.2.16 | 130 | 10/28/2026 |
| 26.2.15 | 133 | 9/22/2026 |
| 26.2.14 | 173 | 9/5/2026 |
| 26.2.13 | 134 | 9/2/2026 |
| 26.2.12 | 143 | 8/29/2026 |
| 26.2.11 | 138 | 8/24/2026 |
| 26.2.10 | 130 | 8/5/2026 |
| 26.2.9 | 145 | 7/31/2026 |
| 26.2.8 | 142 | 6/27/2026 |
| 26.2.7 | 149 | 6/15/2026 |
| 26.2.6 | 159 | 6/11/2026 |
| 26.2.5 | 157 | 6/1/2026 |
| 26.2.3 | 153 | 5/19/2026 |