Xcode 4 unit testing linker error

后端 未结 9 843
小鲜肉
小鲜肉 2021-02-05 09:19

NOTE: \"Use GHUnit\" is not an acceptable answer to this question. I know most think GHUnit is better than the Xcode4 OCUnit, but that\'s not what I\'m asking about. I\'ll evalu

9条回答
  •  清酒与你
    2021-02-05 09:48

    Make sure that the test target has the app target configured as a dependency (Build Phases -> Target Dependencies).

提交回复
热议问题