Search code examples
swiftios8xcode6homekit

Missing submodule 'homeKit' Error while building sample app on XCode6 on Mavericks


I've been trying to create a sample app using HomeKit Framework. while writing the code, everything seems fine. But while building it, IDE throughs ample number of errors and a warning "Missing subModule 'HomeKit' ".

I am using Xcode6 IDE on Mavericks.

Highlight: I tried to google it, found a sample code on github & tried to build it on my IDE n guess what, same result for that too.

Any Idea?


Solution

  • I have used the given sample code, its great demo app. However, you must have "Paid Apple developer account".

    After that the simplest way is, login with the apple developer account in Xcode. (Xcode Menu->Preferances->Accounts)

    Give full bundle identifier like com.myCompanyName.homekitApp Now select project in Xcode, go to targets, In "General" tab select the "Team" it will display list of teams for accounts you have login to.

    Now go to Capabilities enable Homekit, Xcode will automatically configure create application id, provisioning profile for given bundle identifier.

    enter image description here

    Varify all tick mark in Capabilities for Homekit.