when I run my project, I get errors like this:
It seems that all frameworks in
Try to deleting Podfile.lock file and Pods folder. Then try to pods install.
I spent 2 days to find the real culprit. It turns out that I tried to run the "Project" instead of running the "Workspace". How this will help others!
First, you need to check your Xcode version and than check pod version which you installed. If your Xcode version under 9.0 then you should reinstall pod with but old version not latest. It will work.
I faced similar problem in my project. After hours of searching I found that in GENERAL settings of the project in section "Linked Frameworks and Libraries" there are two files for pods: "libPods.a"
and "Pods_ProjectName.framework
"
Deleting "libPods.a"
helped in my case.
This happened to my project because I used Admob in my Unity project and then build it for iOS. I did not note that Unity-iPhone.xcworkspace
is created to open instead of Unity-iPhone.xcodeproj
. I was keep opening Unity-iPhone.xcodeproj
and it was giving the error. Opening the project with Unity-iPhone.xcworkspace
fixed the problem for me.
I changed Deployment target
from 10.0 to 11.0, and this work !