没有这样的模块' XXX'在我的测试目标内

时间:2016-01-27 09:41:20

标签: ios swift unit-testing

我尝试使用新的swift @testable导入将主目标导入测试目标。但是我得到了这个错误:

enter image description here

我还启用了testeability ass this post建议。

enter image description here

1 个答案:

答案 0 :(得分:0)

就我而言,问题在于项目名称中有一个点。必须用下划线替换点。

替换。 for _