Xcode 9 - Test target X encountered an error (Unable to connect to Test Manager)

前端 未结 3 1991
我寻月下人不归
我寻月下人不归 2021-02-18 22:38

I\'m trying to run some of my Unit Tests but it kept giving me error:

Showing Recent Issues
Test target X encountered an error (Unable to connect to test manager         


        
3条回答
  •  独厮守ぢ
    2021-02-18 22:52

    I resolved this issue by doing a hard restart of my device. For my iPhone 8, I followed these instructions from macrumors.com: Hard restart iPhone 8

    Alternatively, if you're an libimobiledevice user you can use /usr/local/bin/idevicediagnostics restart from your mac's terminal.

    Hope this helps

提交回复
热议问题