ios - 我们可以在 IOS 模拟器 : 中测试 SIRIKit 扩展吗

标签 ios ios-simulator siri

我正在尝试使用 sirikit 开发应用程序扩展,但是当我尝试在模拟器 iphone 7plus 上运行它时,出现以下错误:-

SpringBoard 无法处理请求。

谁能告诉我IOS模拟器是否支持SIRIKit扩展!

最佳答案

编辑

对于 Xcode 8.3 或更高版本,您将能够在模拟器中使用 Siri。步骤是——

1) 从模拟器的设置中启用 Siri。

2) 从硬件中选择 Siri

这里有一些图片供引用-

第 1 步 -

enter image description here

第 2 步 -

enter image description here

第 3 步 -

enter image description here

第 4 步 -

enter image description here

过时的答案

不,你不能在模拟器中这样做

检查这个

To run and debug your Intents extension on a device Select the build scheme for your Intents extension. When you add an Intents extension to your project, Xcode automatically creates a build scheme for running that extension. Configure the scheme to run on an attached device. You cannot debug your Intents extension in the simulator. Select Product > Run to launch your extension on the device. When prompted by Xcode, select Siri (or Maps) as the app to run. Xcode builds your app and extension, installs them on the device, and launches the app you selected.

引用 - here

关于ios - 我们可以在 IOS 模拟器 : 中测试 SIRIKit 扩展吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40713851/

相关文章:

iOS 模拟器黑屏并且应用程序无法安装

ios - 我可以使用 Siri Shortcut 更改变量值吗?

ios - 本地化 siri 捐赠的快捷方式

siri - 解决 Siri 缺少 API 的可能方法?

iphone - UIView 始终以纵向模式加载

ios - Objective C 代码中的导出和 Action 存储在哪里?

ios - 链接器错误 undefined symbol

xcode - iOS 模拟器无法启动

ios - Storyboard输出与模拟不匹配

iphone - 在 iPhone 模拟器上运行 Apple Store 应用程序?