iOs today extension do not launch - lost connection to device

五迷三道 提交于 2019-12-02 01:17:42

问题


I created a today extension for my app and it works fine on my mobile, however if I try to launch the widget target on any other device I get this error

I run xcode 6.0.1


回答1:


Couple of things I would check:

  • Code signing / provisioning profiles are correct
  • The supported architecture is standard arch i had an issue with this. From the docs: A containing app that links to an embedded framework must include the arm64

https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html




回答2:


I changed my widget config from this

to this

and it works now



来源:https://stackoverflow.com/questions/26236333/ios-today-extension-do-not-launch-lost-connection-to-device

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