简体   繁体   中英

Fix XCode Errors about Simulator in use and lost connection

These errors keep happening from time to time when i run my app. There doesn't seem to be any rhyme or rhythm to when the errors happen. Sometimes I can run and quit my app 100 times and not see these. Sometimes every 5 times they will show up. They go away but they are slowing down the dev process. How can I fix the underlying issue?

在此处输入图片说明

http://i.stack.imgur.com/Z1VMK.png

http://i.stack.imgur.com/rgj4s.png

In my experience, these 3 cases occur in 3 different scenarios.

  1. " Springboard Error " is a common iOS simulator issue since Xcode 5.

    • It has no fix, as yet, other than restarting the iOS simulator.
      .
  2. " lost connection " occurs when you disconnect the device or quit the simulator prematurely.
    ( example: click run and then stop it almost immediately )

  3. " Simulator in use " occurs when you're already running, say, ABC xcode project in the iOS simulator and you want to run another Xcode project, say, XYZ project in the iOS simulator simultaneously.

    • Go to ABC project, stop it and then run XYZ project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM