Develop native macOS app to control HomeKit accessories

I'm trying to develop an app to control HomeKit accessories in a way not available so far in macOS. How can I work around the absence of HomeKit Support for macOS in Xcode 16? Thanks!

Answered by DTS Engineer in 815259022

I'm trying to develop an app to control HomeKit accessories in a way not available so far in macOS. How can I work around the absence of HomeKit Support for macOS in Xcode 16? Thanks!

HomeKit isn't accessible in an AppKit process, but most of it is accessible through macCatalyst. HMAccessorySetupManager and the other accessory pairing APIs are missing from macCatalyst but, in practice, I don't think that's a significant issue as most users pair through iOS or Home.app.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Accepted Answer

I'm trying to develop an app to control HomeKit accessories in a way not available so far in macOS. How can I work around the absence of HomeKit Support for macOS in Xcode 16? Thanks!

HomeKit isn't accessible in an AppKit process, but most of it is accessible through macCatalyst. HMAccessorySetupManager and the other accessory pairing APIs are missing from macCatalyst but, in practice, I don't think that's a significant issue as most users pair through iOS or Home.app.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Hi Kevin, Thank you! You're making my day! Indeed, I don't need pairing functionality in my app.

Develop native macOS app to control HomeKit accessories
 
 
Q