can't search header path? #329

Closed
hermanccw opened this Issue Jun 13, 2012 · 3 comments

Comments

Projects
None yet
2 participants

only starting with cocoapods so please bear with me.

install restkit (and others) and followed the instruction here. https://github.com/CocoaPods/CocoaPods/wiki/Creating-a-project-that-uses-CocoaPods.

I've remove all my header search paths, but it's still saying that RestKit/RestKit.h is not found. Any ideas?

Here is my Pods.xcconfig

PODS_ROOT = ${SRCROOT}/Pods
ALWAYS_SEARCH_USER_PATHS = YES
OTHER_LDFLAGS = -ObjC -Wl,-no_compact_unwind -lxml2.2.7.3 -lz.1 -framework CFNetwork -framework CoreData -framework CoreGraphics -framework CoreLocation -framework Foundation -framework MapKit -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework Twitter
HEADER_SEARCH_PATHS = $(SDKROOT)/usr/include/libxml2 "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/A2DynamicDelegate" "${PODS_ROOT}/Headers/ASIHTTPRequest" "${PODS_ROOT}/Headers/BlocksKit" "${PODS_ROOT}/Headers/Evernote-SDK-iOS" "${PODS_ROOT}/Headers/Facebook-iOS-SDK" "${PODS_ROOT}/Headers/FileMD5Hash" "${PODS_ROOT}/Headers/ISO8601DateFormatter" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/LibComponentLogging" "${PODS_ROOT}/Headers/NSData+Base64" "${PODS_ROOT}/Headers/QuickDialog" "${PODS_ROOT}/Headers/Reachability" "${PODS_ROOT}/Headers/RestKit" "${PODS_ROOT}/Headers/SBJson" "${PODS_ROOT}/Headers/SOCKit" "${PODS_ROOT}/Headers/SSKeychain" "${PODS_ROOT}/Headers/ShareKit" "${PODS_ROOT}/Headers/Three20Lite" "${PODS_ROOT}/Headers/UDTableView" "${PODS_ROOT}/Headers/cocoa-oauth" "${PODS_ROOT}/Headers/libffi" "${PODS_ROOT}/Headers/objectiveflickr"

Contributor

goonzoid commented Jun 13, 2012

Have you checked in Pods\Headers\RestKit to see if the headers are actually there?

Also, would you mind posting the contents of your Podfile please?

Contributor

goonzoid commented Jun 13, 2012

Also, are you sure it's only RestKit that can't be found? Have you had success finding headers for other pods?

thanks willpragnell. I figured it out, it "kinda" a user error. What I had was different header search path for different environment, but I only clear out the header search path for "dev", once I clear out everything, it started working :).

hermanccw closed this Jun 13, 2012

@jzapater jzapater pushed a commit to jzapater/CocoaPods that referenced this issue Sep 17, 2013

@fabiopelosin fabiopelosin Merge pull request #329 from jeanregisser/three20
[Add] Three20 (1.0.11)
47f1366
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment