May 22, 2021 HomeKit App Development guide
HomeKit App Services is only available to app apps published through the App Store. I n your Xcode project, HomeKit applications require additional configuration, and your app must have a development certificate and code signature to use HomeKit. U se HomeKit in Xcode's Capabilities panel to avoid code signing issues. You don't need to edit authorization files directly at Xcode or the Loyalty Center.
In order to complete all the steps in this document, you need to:
Before you get started with HomeKit, make sure you've completed the following tasks. To create your team's profile, see: App Distribution Quick Start.
When you successfully complete your previous task, the error messages and problem fix buttons in the Team pop-up menu in the General panel disappear. When the code signature configuration is successfully created, the General panel below is displayed.
To use HomeKit, first enable it. X code will add HomeKit permissions to your engineering authorization file and the App ID authorization file in the Loyalty Center, and the HomeKit framework will be added to your project. HomeKit requires a clear app ID, which was created for you to complete these steps.
Here are the steps to enable HomeKit:
There is no need to purchase hardware products to develop Homekit applications. Y ou can have HomeKit Accessory Simulator test communication between the HomeKit app and the analog accessory device. H omeKit Accessory Simulator is not published with Xcode.
The steps for downloading HomeKit Accessory Simulator are as follows:
"Hardware IO Tools for Xcode ".dmg
After that, you'll be able to test your HomeKit application using HomeKit Accessory Simulator, as described in Testing YourHomeKit App (page 30).