Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lost connection to "iOS Simulator" for the first time in Xcode 6.0.1

When I run my iOS application in the Simulator for the first time in Xcode 6.0.1, I got this error message:

Lost connection to "iPad 2".

Restore the connection to "iPad 2" and run "App Name” again, or if "App Name" is still > > running, you can attach to it by selecting Debug > Attach to Process > App Name.

Screenshot for error message

Can any one suggest how I can solve this error message? After I stop running and rebuild, everything works fine.

like image 660
Vaisakh Avatar asked Sep 30 '14 06:09

Vaisakh


2 Answers

Follow 2 steps :

1- sudo DevToolsSecurity -enable 2- Edit Scheme -> Run -> Debug excitable , uncheck this checkbox it will be ok !

You will now be able to run on simulator. This worked for me.

like image 156
Zeeshan Avatar answered Oct 23 '22 00:10

Zeeshan


Same here. I thinks that is the bug of XCode.

Just stop running and Run Again. This way is working fine for me.

like image 28
Fire Fist Avatar answered Oct 23 '22 01:10

Fire Fist