简体   繁体   English

iOs今天扩展不启动 - 丢失与设备的连接

[英]iOs today extension do not launch - lost connection to device

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 我运行xcode 6.0.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. 支持的体系结构是标准的arch我有一个问题。 From the docs: A containing app that links to an embedded framework must include the arm64 从文档:包含链接到嵌入式框架的应用程序必须包含arm64

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

I changed my widget config from this 我改变了我的widget配置

在此输入图像描述

to this 对此

在此输入图像描述

and it works now 它现在有效

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM