- I am trying to add accessory in specific room with below method and payload
guard let payload = HMAccessorySetupPayload(url: url) else {
print(“HomeKitService > Unable to create HMAccessorySetupPayload from URL > \(String(describing: url))")
return
}
- It was working fine with previous iOS 15 beta releases and previous iOS versions but now the same code gives the payload error
Failed to create HMSetupAccessoryPayload from setup payload URL <REDIRECT_TO_HOMEKIT_URL> : Error Domain=HMErrorDomain Code=3 "(null)"