Add and setup accessories with payload doesn't work.

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.

There is no information on Apple Developer web site or stackoverflow or any other resource.

How can I resolve it? As a developer of iOS app should I have MFi license? Should I include some specific entitlement? (Entitlement for HomeKit already included)

Please help. Thanks in advance.

I'm running into the same issue. Any help would be much appreciated.

Add and setup accessories with payload doesn't work.
 
 
Q