Unable to add a new device to my custom homekit app

I have a new device with iAP. I have created an iOS application of my own. The homekit enabled device is not getting added in my custom app. Whereas the same is getting added in the homekit app. What is the issue when using my custom app. Is it something with regards to the certificate or some other issue.

Replies

Did you try the Apple homekit sample ?