Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't search header path? #329

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

can't search header path? #329

hermanccw opened this issue Jun 13, 2012 · 3 comments

Comments

@hermanccw
Copy link

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"

@goonzoid
Copy link
Contributor

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?

@goonzoid
Copy link
Contributor

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

@hermanccw
Copy link
Author

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 :).

jzapater pushed a commit to jzapater/CocoaPods that referenced this issue Sep 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants