Xcode 6.1 and iOS Simulator 8.1 launch very slowly

I am using Xcode 6.1 and iOS Simulator 8.1. It takes a lot of time to run simple applications that I wrote using iOS Simulator. The build process was fine, but then iOS Simulator will show a black blank launch screen, and then the application screen, like 5 minutes before the application starts. Many times it shows the error "Lost connection to iPhone 6 (/ 5 / 4s)." I tried to restart Xcode and iOS Simulator and MacBook Pro several times already. I tried to reset the "Content and Settings" in the iOS stimulator, but it does not help.

What could be the possible reasons? Any tips / solutions? Thanks.

+5
source share
3 answers

I suggest you download the device that you want to use before building and running in Xcode. If you click Build & Run in Xcode while the device is not booted, you will need to wait for the device to boot. This can take a lot of time depending on the I / O load (for example: if Spotlight is indexed at the same time that you are trying to load, or if your home directory is on a slow volume, like a network connection).

Just launch iOS Simulator.app in advance and select the device you want to test in the menu "Hardware → Devices". Then he will be ready when you need it.

+1
source

Make sure that "slow animation" is not selected on the "Debug" tab in iOS Simulator. This fixed the problem for me.

+1
source

There was an error in this problem, and some said it was an Xcode bug with beta 6.1, but I had version 6.1 of alreadt. I will even try beta 6.2, hoping Apple has a fix for this, but no luck, anyway.

So desperate that I decided to upgrade my 3-year-old MacBook Pro RAM and SSD hard drive. Problem solved with update! Now iOS Simulator is working fine.

0
source

Source: https://habr.com/ru/post/1207865/


All Articles