How to add OCMock or any static 3rd party library to AppCode

Hi,

i want to use OCMock for unit testing in AppCode. I installed it via Xcode and it is working so far in Xcode. But when I start AppCode it does not seem to find the static library file and the according headers.

Is anyone using OCMock with AppCode and could give me a hint how to include it?

0

AppCode resolves the code basing on the selected target in the active run configuration.
I suppose, you have added the OCMock to your test target; you need to create/select the coresponding OCUnit configuration and AppCode will resolve your tests correctly.

0
Avatar
Permanently deleted user

Ok. That was true. Had to use the test target and it works. Thanks.

0

请先登录再写评论。