2

I'm using an external lib via cocoapods. When I try to run my unit tests I get

Undefined symbols for architecture i386: "_OBJC_CLASS_$_APIClient", referenced from:

I read that I have to set the "based on" for the unit tests target to Pods which I did but I still get the error.

Any insight would be lovely. Thanks so much.

3

1 Answer 1

2

OK, I just had to add libpods.a to the test project and it worked. Thanks guys!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.