diff --git a/src/darwin/Framework/CHIP/CHIPSetupPayload.mm b/src/darwin/Framework/CHIP/CHIPSetupPayload.mm index d6e808c5b5b2e3..51488bc6998975 100644 --- a/src/darwin/Framework/CHIP/CHIPSetupPayload.mm +++ b/src/darwin/Framework/CHIP/CHIPSetupPayload.mm @@ -80,7 +80,7 @@ - (void)getSerialNumber:(chip::SetupPayload)setupPayload - (NSArray *)getAllOptionalVendorData:(NSError * __autoreleasing *)error { NSMutableArray * allOptionalData = [NSMutableArray new]; - vector chipOptionalData = _chipSetupPayload.getAllOptionalVendorData(); + std::vector chipOptionalData = _chipSetupPayload.getAllOptionalVendorData(); for (chip::OptionalQRCodeInfo chipInfo : chipOptionalData) { CHIPOptionalQRCodeInfo * info = [CHIPOptionalQRCodeInfo new]; info.tag = [NSNumber numberWithUnsignedChar:chipInfo.tag];