Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lost connection to "iPhone 6” when running app

Tags:

ios

xcode6

I am running my app first time in xcode 6.0.1 given below error occur.

Restore the connection to "iPhone 6" and run "AppName" again, or if "AppName" is still running, you can attach to it by selecting Debug > Attach to Process > AppName.

How do I solve this issue?

like image 226
Maishi Wadhwani Avatar asked Sep 30 '14 08:09

Maishi Wadhwani


2 Answers

Just had the same issue. I fixed it by trying a combination of:

  • mac restarted
  • project cleaned
  • iPhone restarted
like image 113
lorenzo Avatar answered Oct 03 '22 04:10

lorenzo


This is know issue of Xcode 6.1.

This is happened if you have 2 projects in XCode. Try doing following steps

  1. Launch main process from the device.
  2. Go to Project dependance Go to Debug - select attach to process-- process launched one.

Hope it will help you..

like image 23
Pallavi Ligade Avatar answered Oct 03 '22 03:10

Pallavi Ligade