Failed to initiate service connection to simulator Error returned in reply: Connection invalid 关闭所有xcode和模拟器,重新运行即可正常。