AFNetworking Error Error Using XCTest in Xcode5

I am using Xcode 5 and have just started unit testing in my existing project because I added the CocoaTouch Unit Testing Bundle as the target (Target Name is: MyAppTests) in my project. The AFNetworking library was previously added using CocoaPods while I run the test case. I got an error. File AFNetworking.h not found. I added AFNetworking.h to Tests.m, but the question remains. Are there any additional s settings for incorporating Pods into my target audience?

+7
ios iphone cocoa-touch xcode xctest
source share
2 answers

Final decision received. select project info , then select Configuration select the Debug drop-down list. From your list, select your test target and change None in Configurations Set Tab to Pods. Do the same in Release Tab as well

+18
source share

CocoaPods wiki: a few goals can give you some tips.

Change your podfile and run pod install again!

0
source share

All Articles