[英]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. 有时我可以运行和退出我的应用程序100次,却看不到这些。 Sometimes every 5 times they will show up. 有时每5次就会出现一次。 They go away but they are slowing down the dev process. 他们走了,但他们拖慢了开发过程。 How can I fix the underlying issue? 如何解决潜在问题?
In my experience, these 3 cases occur in 3 different scenarios. 以我的经验,这3种情况发生在3种不同的情况下。
" Springboard Error " is a common iOS simulator issue since Xcode 5. 自Xcode 5起,“ Springboard Error ”是iOS模拟器常见的问题。
" lost connection " occurs when you disconnect the device or quit the simulator prematurely. 当您断开设备连接或过早退出模拟器时,将发生“ 连接丢失 ”。
( example: click run and then stop it almost immediately ) ( 例如:单击运行,然后几乎立即将其停止 )
" 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. 当您已经在iOS模拟器中运行ABC
xcode项目,并且您想同时在iOS模拟器中运行另一个Xcode项目XYZ
项目时,就会出现“ 正在使用模拟器”。
ABC
project, stop it and then run XYZ
project. 转到ABC
项目,停止它, 然后运行XYZ
项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.