首页 > 代码库 > iOS An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4)

iOS An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4)

新建了一个项目发现模拟器只有iPhone6,于是添加了其余的模拟器

但是在运行项目的时候出现An error was encountered while running(Domain=LaunchSerivcesError, Code=0)

解决办法是重启模拟器

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

iOS An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4)