gpt4 book ai didi

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

转载 作者:技术小花猫 更新时间:2023-10-29 10:42:05 28 4
gpt4 key购买 nike

我正在尝试使用 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/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com