还未发布过话题
  • 超级棒,已经调通了,以前写的测试代码可以用了,想给楼主一百个赞。

    中间遇到过
    Testing failed:
    Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
    ** TEST FAILED **

    其实是需要等待一段时间,到 log 出到:
    Test Suite 'All tests' started at 2017-02-21 17:23:31.790
    Test Suite 'WebDriverAgentRunner.xctest' started at 2017-02-21 17:23:31.795
    Test Suite 'UITestingUITests' started at 2017-02-21 17:23:31.797
    Test Case '-[UITestingUITests testRunner]' started.
    t = 0.00s Start Test at 2017-02-21 17:23:31.803
    t = 0.01s Set Up

    再继续下面的步骤就没有问题了。