i have no idea why happening. i've installed afnetworking in project via podfile. here's current entry:
pod 'afnetworking', '~> 1.2'
however when call:
#import "afhttpclient.h"
at top of 1 of files, says "'afhttpclient.h' file not found". if open pods directory, afnetworking in there along afhttpclient.h. have no idea what's going on. ideas?
it can because 'header_search_paths doesn't have proper path search in added pod(afnetworking).
> open xcworkspace (as after adding podfile/s recommended open xcworkspace instead xcodeproj) , following:
- in file pods.xcconfig check header_search_paths (example: ${pods_headers_search_paths} ) , copy it.
- now in 'build settings' of 'app target' add copied header_search_paths setting 'header search path'
alternative approach (referred ios - build fails cocoapods cannot find header files ):
in app target , "user header search paths" entry add following (including quotes)
"${pods_root}/buildheaders"
checking 'recursive'
hope solve file not found issue.
Comments
Post a Comment