HomeKit throws error 77 and 78

Every time I call HomeKit on my 5th generation iPod Touch, I constantly get this error:

Printing description of error: Error Domain=HMErrorDomain Code=78 "The operation couldn't be completed. (HMErrorDomain error 78.)" 

This is a call to homeManager.addHomeWithName() . I think code 78 is CloudDataSyncInProgress

This happened within a few days. What can I do to fix this?

If I exit iCloud and try again, I get code 77 ( KeychainSyncNotEnabled ).

+6
source share
2 answers

A link to the error codes is contained in NSError + HomeKit.m in the sample project HMCatalog for HomeKit. (See " https://developer.apple.com/homekit/ "). Please note that you do not need to be a developer to access these resources.

The corresponding pairs of error codes from the dictionary provided in this file are as follows:

(int) 76: @ "Keychain sync not enabled"
(int) 77: @ "Cloud data synchronization continues"
(int) 78: @ "Network unreachable"

At first glance, I think this indicates a poor WiFi connection?

To clear iCloud Keychain for HomeKit, I found that the following process worked.

  • Note: when you follow this process, all home information must be restored.

1) select Settings> iCloud> Keychain, disable the Keychain iCloud setting.

2) select Settings> Privacy> HomeKit select "Reset HomeKit Configuration ..."

3) select Settings> iCloud> Keychain enable Keychain iCloud settings

+3
source

I use the beta version of iOS 9, and I had the same error 77 “Cloud data synchronization in progress” and repeated steps 1,2,3 many times and could not make it work.

To finally make the application work, I did the following

  • uninstalled application
  • keychain off
  • quit iCloud
  • reset homekit
  • signed by iCloud
  • turned on the keychain through the security code
  • Installed Application
  • granted permission to HomeKit Home Data.
+1
source

Source: https://habr.com/ru/post/974396/


All Articles