Could not find test host for xxxxxTests:

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


Could not find test host for xxxxxTests:_第1张图片
屏幕快照

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

Could not find test host for xxxxxTests:_第2张图片
deal.png

你可能感兴趣的:(Could not find test host for xxxxxTests:)