I\'ve encounter an strange issue after installing RestKit with cocoapods. after resolving RestKit dependency for my project with cocoapods and trying to build it, I face thi
Please do the following steps:
1: Deleting the Podfile.lock file in your project folder
2: Deleting the Pods folder in your project folder
3: Execute 'pod install' in your project folder
4: Do a "Clean" in Xcode
5: Rebuild your project
If you download the project from github or copy from other place, then the dependencies library do not exists, there will be this issue.
You just need to cd
to the project/project_name directory
in terminal , use ls
to check whether there is a Podfile
file.
if there exists the Podfile
, you just need to install the dependencyies:
pod install
Try to set up the correct target in Podfile
and then run pod update
or pod install
I was able to fix that by updating CocoaPods.
pod install
I tried everything, but the problem persisted. After that I did this and it worked ASAP (As Smooth As Possible).
if your pods are empty