阅读背景:

未为测试目标生成核心数据类

来源:互联网 

I use Core Data's automatically generated classes. My project has 3 targets in addition to the test target. For each target, the Core Data classes are properly generated which I verified by inspecting the Derived Data folder. However, classes are not generated for the Test Target despite it being ticked in the Core Data model file. This causes an "undeclared identifier" and "Use of undeclared type" errors when I try to reference one of the Core Data classes in the test target. How can I fix this please?I use Core Data's automatically generated class




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: