ios - Linking XCTestCase target with CocoaPods -
i'm trying set new test target existing app. i'm getting following errors when try build test target:
"cannot find interface declaration afhttprequestoperationmanager"
plus 3 others related afnetworking classes not being found. i've added top of podfile:
link_with ['appboarder','appboarder tests'] and run pod install. i've included libpods.a 'link binary libraries' section of test target no avail. ideas?
another forehead slapping moment... link_with plus including .a appears working. turns out have been utilizing -prefix.pch file in main target. test target need include things afnetworking.h in test targets -prefix.pch file in order target build correctly.
Comments
Post a Comment