Entitlement com.apple.developer.homekit.allow-setup-payload is not suported

Hello. I'm working on application for managing accessories our partner manufactures.

I'm developing PoC of WAC provisioning and I chose HomeKit for that. I'm trying to add our accessory using addAndSetuppAccessories with payload(url) I took from accessory QR code. But is doesn't work. On some devices calling method produces nothing in logs, on some I receive log: [default] Failed to deserialize object of classes: {( HMAccessorySetupCompletedInfo )}, from data {length = 135, bytes = 0x62706c69 73743030 d4010203 04050607 ... 00000000 0000005b }, with error: Error Domain=NSCocoaErrorDomain Code=4865 "requested key: 'root'" UserInfo={NSDebugDescription=requested key: 'root'} Apart of logs my view controller appearance changes as like some modal controller is going to be presented over it. But never happens.

I found that I should add "com.apple.developer.homekit.allow-setup-payload" entitle ment to the identifier. But Xcode 12.x doesn't see it.

Please help. Thanks in advance.

Entitlement com.apple.developer.homekit.allow-setup-payload is not suported
 
 
Q