samsymons / RedditKit

An Objective-C wrapper for the reddit API
https://redditkit.com/
MIT License
296 stars 41 forks source link

'RKClient.h' not found - CocoaPod install error #80

Open akeaswaran opened 8 years ago

akeaswaran commented 8 years ago

Hey Sam, great library! I'm currently writing a small Reddit app to feel my way through iOS development again, and I keep getting this error in RedditKit.h whenever I install the pod and try building the workspace. Everything (including the other pods) installs correctly, and all of the files are in the right place, but I just can't seem to get past this error when I build/run. Any advice?

faisalrasbihan commented 8 years ago

I have the same problem, but this problem only appear in Xcode 7 apparently because before I update Xcode it was working just fine.

izad commented 8 years ago

@faisalrasbihan yup same here

akeaswaran commented 8 years ago

Looks like this might be a Cocoapods issue. I downgraded my installation from 0.39 to 0.37.2, and everything seems to be working again.

seifscape commented 8 years ago

I tried 0.37.2 that wouldn't even allow me to run pod install but running 0.38 worked like a charm on Xcode 7.1

faisalrasbihan commented 8 years ago

how do you do that selfscape?

seifscape commented 8 years ago

@faisalrasbihan

1) gem uninstall cocoapods 2) gem install cocoapods -v 0.38.0

Let me know if you need help :)

kncesarini commented 8 years ago

This issue still persists with cocoapods version 1.0. Downgrading to 0.38.0 still worked for me though.