Apple Home kit not working in iOS 14.5 beta

I am facing the problem in the homekit framework method i.e   open func addAndSetupAccessories(completionHandler completion: @escaping (Error?) -> Void)

There is no callback i am getting from this method.Neither success nor error i am getting. It's not working since updated to iOS 14.5 beta
My company has encountered this problem with the iOS 14.5 betas as well. It's still there as of 14.5 beta 4.

Our particular use case is for the user to add our specific accessory to their HomeKit home.

We are currently working around this issue by implementing a code branch specifically for iOS 14.5. After having just called addAndSetupAccessories, we then wait for UIApplicationDelegate's applicationDidBecomeActive method to be called. Empirically, this happens once the user is done with and has dismissed Apple's built-in HomeKit dialogs, or more typically, has switched to another app and then back.

When that happens, we query the home's accessories list to see if our accessory has been added and invoke the logic the previously occurred in the callback, with the presence of our accessory in the home treated as a success, and it's absence as a failure.
Apple Home kit not working in iOS 14.5 beta
 
 
Q