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.

Cocoa Nub
  • 489
  • 7
  • 20

1 Answers1

2

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

Cocoa Nub
  • 489
  • 7
  • 20