Phan Van Linh Phan Van Linh - 1 month ago 17
iOS Question

Xcode could not launch app (unable to attach)

I am new in iOS. I update

XCode
to version 7.2. And every time I edit some code then run the application the
XCode
will display.


Could not launch my app (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

enter image description here

Did I make something wrong? Any help would be appreciated

Answer

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.

  • If still happens, restart Xcode.