Skip to content

Commit

Permalink
Liar liar, test on fire matterNodeID
Browse files Browse the repository at this point in the history
matterNodeID only responds under MacCat on macOS 13.2.
  • Loading branch information
dalexsoto authored and dustin-wojciechowski committed Feb 8, 2023
1 parent b4e4728 commit 2022081
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/homekit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ partial interface HMAccessory {
string FirmwareVersion { get; }

[NullAllowed]
[Mac (13, 0), iOS (16, 1), MacCatalyst (16, 1), Watch (9, 1), TV (16, 1)]
[Mac (13, 0), iOS (16, 1), MacCatalyst (16, 2), Watch (9, 1), TV (16, 1)]
[Export ("matterNodeID", ArgumentSemantic.Copy)]
NSNumber MatterNodeId { get; }

Expand Down
6 changes: 0 additions & 6 deletions tests/introspection/ApiSelectorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,6 @@ protected virtual bool Skip (Type type, string selectorName)
return true;
}
break;
case "HMAccessory":
switch (selectorName) {
case "matterNodeId": // Ventura error.
return true;
}
break;
case "EKParticipant":
switch (selectorName) {
case "ABRecordWithAddressBook:": // Ventura error.
Expand Down

0 comments on commit 2022081

Please sign in to comment.