From 8442d355b85c3394cf57a54336e82560152d1ea6 Mon Sep 17 00:00:00 2001 From: Anush Nadathur Date: Sat, 24 Aug 2024 13:54:25 -0700 Subject: [PATCH] [Darwin] Adding missing property on MTRDeviceController_XPC (#35188) - Added controllerID to match the OverXPC interface --- src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm b/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm index 67049b280d81f3..d72dc211b70b4f 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm +++ b/src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm @@ -78,6 +78,11 @@ - (NSXPCInterface *)_interfaceForClientProtocol return interface; } +- (id)controllerXPCID +{ + return [self.uniqueIdentifier UUIDString]; +} + - (id)initWithUniqueIdentifier:(NSUUID *)UUID xpConnectionBlock:(NSXPCConnection * (^)(void) )connectionBlock { if (self = [super initForSubclasses]) {