缺少 API HomeKit 的权利 [英] Missing entitlement for API HomeKit

查看:78
本文介绍了缺少 API HomeKit 的权利的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了 HomeKitCatalog 代码进行交流与家庭应用程序来执行场景和添加配件.它在前台应用程序中按预期工作.

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

当我的应用程序进入后台/暂停模式时,发送静默通知运行场景.但它抛出异常缺少 API 的权利".

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?

推荐答案

开发者无法从后台控制 HomeKithttps://forums.developer.apple.com/thread/22279

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

这篇关于缺少 API HomeKit 的权利的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆