Xcode 编译报错:Failed to initiate service connection to simulator

Failed to initiate service connection to simulator Error returned in reply: Connection invalid
Xcode 编译报错:Failed to initiate service connection to simulator_第1张图片
打开xcode,运行成功,后来点击模拟器,就没反应了,重新运行抛出这样一个提示框,清除缓存,从新运行还是一样!
解决办法:需要关闭所有不同版本的xcode还有模拟器,重新打开运行就行了。
原因因为打开了多个版本的xcode运行

你可能感兴趣的:(编译报错)