Xcode 8 beta 4:“无法附加到pid:11010"在物理设备上运行时 [英] Xcode 8 beta 4: "Could not attach to pid : 1110" when running on physical device

查看:57
本文介绍了Xcode 8 beta 4:“无法附加到pid:11010"在物理设备上运行时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个消息扩展,当我在iOS模拟器上运行它时,一切都没有问题.当我尝试在手机上运行它时,它会编译并运行约5秒钟,然后崩溃,并在Xcode中显示一条弹出消息,提示无法附加到pid ,这是屏幕截图:

我正在iOS 10上使用Xcode 8 beta4.在模拟器上,一切都运行良好,这是在物理设备上进行的.我已经重新启动并重新启动了所有内容.我什至试过两部手机.有人知道解决方案吗?

谢谢

解决方案

好的,这很困难.我继续搜索Xcode beta 4发行说明,并在已知错误部分找到了答案:

I made a messages extension and when I run it on the iOS simulator everything runs no problem. When I try to run it on my phone, it compiles and says running for about 5 seconds before crashing and giving me a pop down message in Xcode saying Could not attach to pid Here is a screenshot:

I am using Xcode 8 beta 4 with iOS 10. Everything runs fine in simulator this is on physical device. I have rebooted and restarted everything. I have even tried on two phones. Anyone know the solution?

Thanks

解决方案

Okay this is a tough one. I went searching though the Xcode beta 4 release notes and found the answer in the known bugs section:

这篇关于Xcode 8 beta 4:“无法附加到pid:11010"在物理设备上运行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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