Link error while building a unit test target

后端 未结 4 1319
礼貌的吻别
礼貌的吻别 2020-12-04 13:15

I have a XCode4 / iOS project with a regular target and unit test target. Everything works fine, except when I try to #import one of my classes in my test class and try to u

4条回答
  •  不知归路
    2020-12-04 13:45

    You should only refer to a folder inside your import if your file is inside a framework. Otherwise, once you added your file to the project, simply do #import "FRRCategory.h". Well, unless you did something weird with your Header Search Paths.

提交回复
热议问题