Post

Replies

Boosts

Views

Activity

Reply to XCode signing says NSHomeKitUsageDescription not supplied, how do I do that?
I am using Automatic Signing. That, actually, is where the problem is. Under my Target Capabilities I added (+ button) Homekit. That added the key for Homekit: YES to the .entitlements file automagically as well as added HomeKit as a Framework. It did not add any NSHomeKitUsageDescription key anywhere. I have added that manually to the Info tab under Custom iOS Target Properties. That should propagate to the Info.plist file and, in fact, it does do that. The problem is that the Automatic Signing is looking for NSHomeKitUsageDescription in the Provisioning Profile. It doesn’t exist in there and has no purpose being in there, it is not relevant at that time in the build process. And, additionally, there is no way to actually put it into the Provisioning Profile.
Jul ’22
Reply to XCode signing says NSHomeKitUsageDescription not supplied, how do I do that?
The error is from the build during the Automatic Signing. Actually that process runs even without any Build requested. It appears that it is due to my own ignorance as I have just gotten it to work with bit of help from Apple. I had originally tried putting the UsageDescription into the .entitlements file. That was the cause of all the difficulty. Once I removed it from there and ensured it was in the Info section the signing completes successfully. Having it in both places caused an error. Sigh ... why isn't it ever easy? Bill W
Jul ’22