Missing entitlement for API HomeKit

有些话、适合烂在心里 提交于 2021-01-28 07:15:33

问题


I have used HomeKitCatalog code to communicate with Home app to execute scenes and add accessory. It works as expected in app in foreground.

When my app went to background/suspend mode, sending silent notification run scene. But it throws exception "Missing entitlement for API".

Is it related to provisional profile issue? Can anyone help to move forward?


回答1:


Developer can't control HomeKit from background https://forums.developer.apple.com/thread/22279



来源:https://stackoverflow.com/questions/45232576/missing-entitlement-for-api-homekit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!