Post not yet marked as solved
Post marked as unsolved with 3 replies, 617 views
hi there,
i've just started digging into developing for HomeKit, so it's quite possible i'm missing something (or this is expected?), but calling addAndSetupAccessories always fails instantly (no UI appears) when running in the simulator. the error is:
addAndSetupAccessories got error Optional(Error Domain=HMErrorDomain Code=79 "Failed to add the accessory." UserInfo={NSLocalizedDescription=Failed to add the accessory.})
i'm running the HomeKit simulator with a home created + one standard lightbulb accessory added.
if i run on device it works as expected (using my real homekit accessories)
xcode: Version 12.0 beta 4 (12A8179i)
homekit accessory simulator: Version 4.0 (135.3)