首页 > 代码库 > An error was encountered while running(Domain=LaunchSerivcesError, Code=0)

An error was encountered while running(Domain=LaunchSerivcesError, Code=0)

今天突然遇到这样一个错误,编译可以通过,但是运行就会弹出这个错误提示:

An error was encountered while running(Domain=LaunchSerivcesError, Code=0)


解决办法就是重置模拟器。

点击模拟器菜单中的Reset Contents and Settings,完成后,再运行就OK了!

An error was encountered while running(Domain=LaunchSerivcesError, Code=0)