今天一运行项目,总是出现An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4)这个问题 解决办法:选中模拟器,点击左上角的 IOS Simulator ,选择 Reset Contents and Settings ,再运行项目就好了;