无法启动与模拟器 Xcode 的服务连接

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/47151768/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:25:09  来源:igfitidea点击:

Failed to initiate service connection to simulator Xcode

iosxcodeios-simulatorxcode9

提问by Xcodian Solangi

I run my program, the simulater showed the progress bar and suddenly disappeared and the pop up appeared and written there

我运行我的程序,模拟器显示进度条突然消失,弹出窗口出现并写在那里

Failed to initiate service connection to simulator

无法启动与模拟器的服务连接

DTServiceHubClient failed to bless service hub for simulator iPhone 8 (81F102A0-7BDB-4A51-903B-CBC4AFFF93FB)

DTServiceHubClient 无法为模拟器 iPhone 8 祝福服务中心 (81F102A0-7BDB-4A51-903B-CBC4AFFF93FB)

采纳答案by Xcodian Solangi

Just clean & build yor project it will run fine. If it does not help, then restart the xcode, clean & build the project.

只需清理并构建您的项目,它就会运行良好。如果没有帮助,请重新启动 xcode,清理并构建项目。

回答by pconor

The only thing that worked for me was to restart my computer.

唯一对我有用的是重新启动计算机。

Clean build, xcode restart, simulator restart, simulator erase content and settings... did nothelp.

干净的构建,Xcode的重启,重启模拟器,模拟器擦除内容和设置...确实没有帮助。