HomeKit icon indicating copy to clipboard operation
HomeKit copied to clipboard

Cannot name home

Open solick opened this issue 10 years ago • 3 comments

Hi, thanks for the code. I tried to use it but every time i try to name my home, nothing happens and at the console, the following error messages occurred:

2014-09-25 20:38:13.742 HomeKitDemo[10784:530060] primary home : nil count:0 2014-09-25 20:38:13.747 HomeKitDemo[10784:530060] Presenting view controllers on detached view controllers is discouraged <HomeKitDemo.PrimaryHomeViewController: 0x7ff8bc220c40>. 2014-09-25 20:38:18.907 HomeKitDemo[10784:530060] primary home : nil 2014-09-25 20:38:18.922 HomeKitDemo[10784:530060] error creating home: Error Domain=NSCocoaErrorDomain Code=4097 "The operation couldn’t be completed. (Cocoa error 4097.)" (connection to service named com.apple.homed.xpc) UserInfo=0x7ff8bc21a950 {NSDebugDescription=connection to service named com.apple.homed.xpc}

Any idea is appreciated.

Thanks and KR

Solick

solick avatar Sep 25 '14 18:09 solick

Solved it. It is necessary to have a provisioning profiles for at least one device installed.

solick avatar Sep 27 '14 08:09 solick

hi @solick howdo you add the provisioning profiles?

limb18 avatar Oct 17 '14 12:10 limb18

Hi limb18, you need to log into the apple developer site and create the provisioning file there. After this, you can simple download/asign the profile in xcode.

solick avatar Nov 27 '14 10:11 solick