Unable to contact local DTServiceHub to bless simulator connection

后端 未结 5 1594
清酒与你
清酒与你 2020-12-29 19:35

When I run my basic Xcode project in simulator, I got the below issue:-

Failed to initiate service connection to simulator.

Unable to con

相关标签:
5条回答
  • 2020-12-29 20:04

    I reset the Simulator by using the "Reset Content and Settings..." and quit my Xcode. Then opened my project again and ran, it worked for me. But I don't know why this error occurred.

    0 讨论(0)
  • 2020-12-29 20:13
    1. Reset the Simulator by using the "Reset Content and Settings..."
    2. Target -> build setting -> search debug -> build option -> debug information format -> change debug to DWARF
    3. Cmd+Shift+K

    it's work for me

    0 讨论(0)
  • 2020-12-29 20:14

    In Xcode 9 there is Simulator > Hardware > Erase All Content and Settings

    0 讨论(0)
  • 2020-12-29 20:16

    This happened to me when I upgraded to MacOS Mojave cause dark mode is awesome. The solution wasn't any of the above, but instead a system RESTART did the trick.

    0 讨论(0)
  • 2020-12-29 20:22

    I encountered the same error message in Xcode 9.1, but instead of erasing configurations under Simulator > Hardware, I pressed the Run button again and my project successfully built & ran.

    0 讨论(0)
提交回复
热议问题