diff --git a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt index 638a000cb8351a..cd76e066bdf935 100644 --- a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt @@ -7,6 +7,7 @@ #import "MTRLogging_Internal.h" #import "NSStringSpanConversion.h" #import "NSDataSpanConversion.h" +#import "MTRBackwardsCompatShims.h" #include #include diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm index 9daae9c4262e08..b4d0b6a5bdde60 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm @@ -16,6 +16,7 @@ */ #import "MTRCommandPayloadsObjc.h" +#import "MTRBackwardsCompatShims.h" #import "MTRBaseDevice_Internal.h" #import "MTRCommandPayloads_Internal.h" #import "MTRError_Internal.h" diff --git a/src/darwin/Framework/CHIPTests/MTRBackwardsCompatTests.m b/src/darwin/Framework/CHIPTests/MTRBackwardsCompatTests.m index 1c9833ab4fe3fa..3848ed69dd0e6f 100644 --- a/src/darwin/Framework/CHIPTests/MTRBackwardsCompatTests.m +++ b/src/darwin/Framework/CHIPTests/MTRBackwardsCompatTests.m @@ -1196,6 +1196,15 @@ - (void)test046_MTRThreadOperationalDataset CHECK_RETURN_TYPE(sig, NSData *); } +- (void)test047_MTRGroupKeyManagementClusterKeySetReadAllIndicesParams +{ + __auto_type * params = [[MTRGroupKeyManagementClusterKeySetReadAllIndicesParams alloc] init]; + CHECK_PROPERTY(params, groupKeySetIDs, setGroupKeySetIDs, NSArray *); + + params.groupKeySetIDs = @[ @(16) ]; + XCTAssertEqualObjects(params.groupKeySetIDs, @[ @(16) ]); +} + - (void)test999_TearDown { ResetCommissionee(GetConnectedDevice(), dispatch_get_main_queue(), self, kTimeoutInSeconds);