- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我们一直收到崩溃报告说“使用应用程序中的 INPreferences 类需要授权 com.apple.developer.siri。您是否在 Xcode 项目中启用了 Siri 功能?”。但是我们有绝对在Xcode中开启了Siri功能,并且APP ID确实支持Siri功能,否则我们的应用程序会一直崩溃。那么,为什么只有一些设备崩溃了?这让我们很困扰。
任何人都知道原因或遇到了同样的问题?如果您能提供一些帮助,我们将不胜感激。
这是崩溃日志:
0 CoreFoundation 0x000000018b6fd1b8 ___exceptionPreprocess + 124
1 libobjc.A.dylib 0x000000018a13455c objc_exception_throw + 44
2 Intents 0x00000001a4cd55ac -[INPreferences _siriAuthorizationStatus]
3 libdispatch.dylib 0x000000018a5861bc __dispatch_client_callout + 16
4 libdispatch.dylib 0x000000018a586fb0 dispatch_once_f + 56
5 Intents 0x00000001a4cd51d8 -[INPreferences assertThisProcessHasSiriEntitlement] + 112
6 Intents 0x00000001a4cd57f8 -[INPreferences requestSiriAuthorization:] + 96
7 Intents 0x00000001a4cd5950 +[INPreferences requestSiriAuthorization:] + 80
8 AppName 0x0000000100589cf4 -[AppDelegate _requestAuthorizations] (CAppDelegate.m:802)
9 AppName 0x00000001001b99dc -[SplashView p_didTransitionImageViewAnimations] (SplashView.m:234)
10 AppName 0x0000000100a3adb0 -[SplashView p_disappearImageView] (SplashView.m:395)
11 Foundation 0x000000018c1fa46c __NSFireDelayedPerform + 416
12 CoreFoundation 0x000000018b6ab1d8 ___CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
13 CoreFoundation 0x000000018b6aaeec ___CFRunLoopDoTimer + 872
14 CoreFoundation 0x000000018b6aa7a8 ___CFRunLoopDoTimers + 244
15 CoreFoundation 0x000000018b6a83a4 ___CFRunLoopRun + 1572
16 CoreFoundation 0x000000018b5d62b8 CFRunLoopRunSpecific + 436
17 GraphicsServices 0x000000018d08a198 GSEventRunModal + 172
18 UIKit 0x00000001916167fc -[UIApplication _run] + 684
19 UIKit 0x0000000191611534 UIApplicationMain + 204
20 AppName 0x00000001002a6084 main (main.m:248)
21 libdyld.dylib 0x000000018a5b95b8 _dyld_process_info_notify_release + 36
Use of the class <INPreferences: 0x174238980> from an app requires the entitlement com.apple.developer.siri. Did you enable the Siri capability in your Xcode project?
最佳答案
似乎您需要与扩展程序共享主应用程序的数据,为您的应用程序打开 Siri 功能和应用程序分组。此外,您必须在 developer.apple.com 上为您的应用添加 Siri 功能。
关于SiriKit 崩溃 : "Use of the class from an app requires the entitlement com.apple.developer.siri.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41217838/
我已经为应用程序实现了 Siri 快捷方式。一切正常,除了一件事: 当执行 INPreferences.requestSiriAuthorization 请求使用 Siri 的授权时,用户可以允许或拒
我知道有 no API for Siri .看起来也没有迹象表明它会很快发生变化。 但我迫不及待地想利用它出色的自由语音识别功能,所以我在想也许仍在使用它但作为一个“黑匣子”? 例如,this app
这个问题在这里已经有了答案: Does Apple provide an API for SIRI? (4 个回答) 5年前关闭。 我可以像使用 iOS 应用程序一样使用 Siri 功能对 macOS
我需要集成 Siri 才能使用我的应用调用电话。 Siri 在设置的应用程序支持上识别我的应用程序。但是当我试图调用某个联系人说“在 MyApp 上调用 ContactName”时,它只显示按钮“打开
我已经通过 react-native-siri-shortcut npm 在 React Native 项目中成功实现了快捷方式。 我可以在快捷方式应用程序(iOS 中)中看到所有这些快捷方式。 当我
我在 iOS 应用程序上有一个可用的 Siri 支付扩展程序。但是当我问 Siri“你能做什么?”它没有列出我的应用程序。 Siri 确实列出了现金和 Venmo 支付应用程序(我同事手机上的 Ven
我想知道是否可以在移动设备上使用 JS 验证一些 Siri 驱动(或 Android 语音识别软件)的输入。 我有一个“input type=text”对象,但我只需要启用数字(数字)。我正在使用 k
AppleTV 似乎存在错误。我有一个包含所有游戏节点(和 Action )的 SKNode“worldNode”的 SpriteKit 场景。我能够检测到何时按下 Siri Remote 上的菜单按
我正在集成 Sirikit,Bill Payment,目的是: INPayBillIntentHandling(最近在 iOS 10.3+ 中发布,2017 年 3 月 27 日)。 Apple 文档
我想通过终端命令来使用 siri。是否可以?示例: $ siri "Sleep my mac" 最佳答案 您可以使用 siri 在“设置”>“辅助功能”>“语音”中设置萨曼莎的声音 打开终端并输入 $
已结束。此问题正在寻求书籍、工具、软件库等的推荐。它不满足Stack Overflow guidelines 。目前不接受答案。 我们不允许提出寻求书籍、工具、软件库等推荐的问题。您可以编辑问题,以便
'com.apple.coreaudio.avfaudio', reason: 'required condition is false: _recordingTap == nil 代码崩溃 1.
我的应用程序有一个自定义意图,它向用户建议一个快捷方式,如下所示: let intent = ReadIntent() if let shortcut = INShortcut(int
这个问题在这里已经有了答案: 已关闭10 年前。
有没有一种方法或工具可以检查 Apple 的 Siri 如何解释/读取语音字段的值?我已经能够在终端 (Mac OSX) 中通过 say something 帮助自己一点点,但我对任何其他替代方案感到
我知道这是一个长期的尝试,但是有什么方法可以将数据推送到 iOS 上的 Siri。 我的意思是,我有一个程序,其中包含一些数据,例如我的购物 list 或其他数据。现在我想问 Siri 我需要买什么,
有没有办法从网页(可能使用 Javascript)触发 Siri 来填充输入文本字段? 最佳答案 您可能无法直接触发 Siri,但您可以使用 x-webkit-speech将添加使用语音输入功能的 h
我正在尝试将 Siri 快捷方式集成到我的应用程序中。我正在尝试的概念是通过密码确认获得我的卡的奖励积分。请在下面找到我为此所做的工作。 在功能中启用 Siri 并添加 Siri Intent 定义文
我已启动并运行快捷方式,并且已将自定义响应添加到我的完成处理程序中。在这种情况下... completion ([TriggerSceneIntentResponse successIntentR
在 Apple TV 上的 Siri Remote 上收集触摸时,触摸的位置始终报告为同一位置? let tapRecognizer = UITapGestureRecognizer(target:
我是一名优秀的程序员,十分优秀!