Siri is not working in existing project

安稳与你 提交于 2019-12-12 08:43:12

问题


I have to initiate a voip call through my app using Siri. It is working in demo project but when I am adding the Intents Extension into my existing project then Siri is not working anymore.

In system settings the my app is not showing in App Support section. Plist configuration is like:

Also see the plist configuration of extension:

Whenever i am giving any voice command it's saying "I wish I could, but < app > hasn't set that up with me yet."

I have also tried by enabling Siri from capabilities. Let me know what I am doing wrong there.

Thank you.


回答1:


Finally I found the root cause, whenever I was adding the Intent Extension the default deployment target was set to 10.2(Xcode 8.2). And when I tried on iOS 10.1 device, Siri ignored my app due to that target configuration. That is why my app was not showing in App Support section.

Please check whether the Deployment Info for your Extension Target covers your device OS version or not.



来源:https://stackoverflow.com/questions/41395903/siri-is-not-working-in-existing-project

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