Xcode 7.2无法使用iOS 9.2连接到iPhone [英] Xcode 7.2 can't attach to iPhone with iOS 9.2

查看:153
本文介绍了Xcode 7.2无法使用iOS 9.2连接到iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了开发的目的,我已经在我的iPhone 5上放置了iOS 9.2 beta。当然,我也安装了Xcode 7.2 beta。



当我想在设备上运行应用程序扩展(键盘)时,应用程序正常构建,安装在iPhone上并开始了。然后,我在Xcode中看到这个消息:


无法启动MyApp / p>

进程启动失败:无法获取进程的任务


是否有人知道如何解决这个问题?



编辑:如果是Xcode 7.2,最终版本的版本更改为


无法启动MyApp



无法附加



解决方案

现在我感到愚蠢...



我正在使用分发证书和配置文件签名应用程序。然而,随着iOS 9.1的发展,现在,我只是创建了一个开发配置文件,它的工作。


For development purposes, I already put iOS 9.2 beta on my iPhone 5s. Of course, I also installed 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. Then, however, I'm presented with this message in Xcode:

Could not launch "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

Could not launch "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. Now, I simply created a development provisioning profile and it's working.

这篇关于Xcode 7.2无法使用iOS 9.2连接到iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆