Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lost connection to iOS 8 simulator

I have a problem using Xcode 6 beta 4 and iOS 8 simulator. Each time I try to run my project Xcode sends me a "Connection lost" error. I tried to delete and create new simulator, set Command Line Tools for Xcode 6 and still nothing happened. what should I do?

Screenshot

like image 352
Yury Bogdanov Avatar asked Aug 02 '14 15:08

Yury Bogdanov


People also ask

How do I connect my iPhone to Simulator?

Open up a project in Xcode and click on the device near the Run ▶ button at the top left of your Xcode screen. Plug your iPhone into your computer. You can select your device from the top of the list. Unlock your device and (⌘R) run the application.

How do I debug iPhone Simulator?

You'll need to go to Settings > Advanced and check the Show Debug Menu option. Then you'll see the option to open the web inspector for the Simulator right from that menu. With the Web Inspector open, you can debug inside the Simulator just like you could right in a desktop browser with DevTools.


1 Answers

Just try to "Reset the content and Settings..." in iOS Simulator, it works for me. Currently my Xcode version is 6.0 (6A313).

This should be a known bug of iOS Simulator after searching, you could try the above the solution to fix it temporarily. Good luck!

UPDATE: Before you try to reset the iOS Simulator, just quit (cmd + Q) and launch it, I found it works good in my simulator/xcode 6.1.1, too.

like image 52
Itachi Avatar answered Sep 19 '22 22:09

Itachi