简体   繁体   English

Xcode 7.2无法通过iOS 9.2连接到iPhone

[英]Xcode 7.2 can't attach to iPhone with iOS 9.2

For development purposes, I already put iOS 9.2 beta on my iPhone 5s. 出于开发目的,我已经在我的iPhone 5s上安装了iOS 9.2 beta。 Of course, I also installed Xcode 7.2 beta. 当然,我也安装了Xcode 7.2 beta。

When I want to run an app extension (keyboard) on the device, the app builds properly, gets installed on the iPhone and started. 当我想在设备上运行应用扩展程序(键盘)时,应用程序正确构建,安装在iPhone上并启动。 Then, however, I'm presented with this message in Xcode: 然而,然后,我在Xcode中看到了这条消息:

Could not launch "MyApp" 无法启动“MyApp”

process launch failed: failed to get the task for process 进程启动失败:无法获取进程任务

Does anyone know how to fix this? 有谁知道如何解决这一问题?

EDIT : With the final release version if Xcode 7.2, the message changed to 编辑 :如果Xcode 7.2的最终发布版本,消息更改为

Could not launch "MyApp" 无法启动“MyApp”

unable to attach 无法附加

Now I feel stupid... 现在我感到愚蠢......

I was signing the app with a distribution certificate and provisioning profile. 我正在使用分发证书和配置文件签署应用程序。 With iOS 9.1 it worked, however. 然而,在iOS 9.1中它起作用了。 Now, I simply created a development provisioning profile and it's working. 现在,我只是创建了一个开发配置文件,它正在运行。

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

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