let setupManager = HMAccessorySetupManager()
let homeTopology = HMCHIPServiceTopology(homes: homes)
setupManager.addAndSetUpAccessories(for: homeTopology, completionHandler: { error in
if let error = error {
print(error)
}
})
when calling the function 'setupManager.addAndSetUpAccessories(for: homeTopology)', an error log occurs.
Error Domain=HMErrorDomain Code=48 "Operation is not supported." UserInfo={NSLocalizedDescription=Operation is not supported.}
Any ideas what could cause this? Is this function not working yet because it is currently beta? Or, did i use the function wrong?
-
—
scottwalstead
-
—
scottwalstead
Add a CommentI'm encountering the same issue. iOS 15 beta, tvOS 15 beta, and matter/chip profiles are installed on both devices.
Failed to add and set up accessories for topology: Error Domain=HMErrorDomain Code=48 "(null)"
I just tried out iOS beta 4 and XCode beta 4 and this is no longer an issue. Thank you for the fix!