iOS Could not find test host for xxxxTests

单元测试报错:Could not find test host for xxxxTests

Posted by HuberyYang on January 31, 2018

单元测试报错:Could not find test host for xxxxTests: ,意为无法找到需要进行单元测试的 Target,完整的错误信息如下: 屏幕快照

解决办法:按下图找到 Host Application ,然后选择准备测试的Target就可以了。 deal.png