ios - How do I tell my app where my Pod header files are? -
the question
how tell app pod header files are.
the setting
i inherited ios app else. wanted add locksmith app passwords. app had pods, pod install
wasnt working gem installed cocoapods , worked.
then pod installed locksmith , worked, until ran app again.
the errors
now these errors on pods never messed with.
in bridge.h file first line gives error
#import <tpkeyboardavoiding/tpkeyboardavoidingscrollview.h> #import <datetools/datetools.h>
the error response is:
/folders/appname/application/bridge.h:15:9: error: 'tpkeyboardavoiding/tpkeyboardavoidingscrollview.h' file not found #import <tpkeyboardavoiding/tpkeyboardavoidingscrollview.h> ^ <unknown>:0: error: failed import bridging header '/folders/appname/application/bridge.h'
the thing exact same error occurs datetools if remove first line. so, seems path pods isnt working.
i couldn't find pod paths located , issue.
any appreciated
edit 1
tpkeyboardavoiding present in pods folder datetools directory
pods/tpkeyboardavoiding/tpkeyboardavoiding/tpkeyboardavoidingscrollview.h
edit 2
i went build settings -> search paths -> header search paths
and entered: $(inherited)
i entered: $(project_dir)
but same errors
edit 3
i realized have 2 sets folders named: pods, frameworks , products.
one in hostdirectory/appname , 1 in hostdirectory/pods
show project navigator cmd+1
, tap on project root. in pane opens see project , targets in left sidebar. tap on target. tap "build settings" @ top. tap on , search "header search path". should see in there:
"${pods_root}/headers/public"
if isn't there, perhaps cocoapods install didn't work advertised?
if is there, may try clearing derived data folder. i've had funky things happening configuration changes i've resolved nuking derived data folder , doing clean build.
in terminal punch in:
$ cd "$home/library/developer/xcode/deriveddata" $ open .
then remove folder there appname
in , rebuild.
edit: