您好我在我的iOS Swift项目中进行了单元测试,但在我运行之后说:
Class Nurse is implemented in both ProjectName and ProjectName.Tests
One of the two will be used. Which one is undefined.
我发现每个测试用例后都出现错误:
Could not cast value '<PROJECT_NAME>.<CLASS>' to '<PROJECT_NAME_TESTS>.<CLASS>'
我已尝试将其从测试构建中移除但它不起作用,我该怎么办?
感谢。