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?
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With