XCTests Failing on Physical Device: “Canceling tests due to timeout …”

前端 未结 6 1929
清酒与你
清酒与你 2021-02-01 06:33

XCTests are failing with the message: *** Canceling tests due to timeout in Waiting for test process to check in... This just started coming up in the last few days

6条回答
  •  半阙折子戏
    2021-02-01 07:31

    This is issue caused by an infinite loop in your code. I had the same error but I removed the piece of code causing the problem and it worked fine. xcode doesn't give you much info to work. Some causes might be a global var and a singleton pointing to each other

提交回复
热议问题