I am trying to build a Cocoapod xcode project. I followed below steps to configure cocoapods on my mac machine(MAC OS yosemite 10.10.2, xcode 6.1.1 version)
Now while opening xcode workspace file, am getting the below error in projectname-Prefix.pch file
"ReactiveCocoa/ReactiveCocoa.h" file not found (but I see library and class file in the project)
In my case it was resolved like this way..
After opening terminal -> Goto the project directory
cd /Your Xcode Project Directory Path
Press Enter.
Now use this command to check if there is any update available for existing pods.
pod outdated
It will show all the outdated pods with latest updates
Now use the following command to update the outdated pods.
pod update
It will update all the pods automatically.
Make sure that you have closed the Xcode before updating.
After updating change the import section of your class files.
#import <ReactiveCocoa/ReactiveCocoa.h>
Thanks.
Hope this helped.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With