Xcode 错误:无法启动应用程序 - 无法附加 [英] Xcode error: Could not launch app - unable to attach

查看:49
本文介绍了Xcode 错误:无法启动应用程序 - 无法附加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 Xcode 更新到 7.2 版.每次我编辑一些代码然后运行应用程序时,Xcode 都会显示:

I updated Xcode to version 7.2. Every time I edit some code then run the application, Xcode will display:

无法启动APP_NAME"
无法附加

Could not launch "APP_NAME"
unable to attach

但是,当我再次运行该应用程序时,它会成功运行.

However, when I run the app again, it will run successful.

确实,我可以运行应用程序,但每次遇到这个问题时我都感到不舒服

Indeed, I can run the application but I feel uncomfortable when I face this problem every time

推荐答案

你没有做错任何事;它不时发生.无需清除数据并重新启动 Mac.只需尝试以下操作:

You are not doing anything wrong; it happens from time to time. There is no need to clear data and restart the Mac. Just try the following:

  • 拔下并重新插入设备.

  • Unplug and plug the device back in.

如果还是这样,重启Xcode.

If still happens, restart Xcode.

这篇关于Xcode 错误:无法启动应用程序 - 无法附加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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