0

I am having an issue with my xcode project that it is not installing any new pods. I installed the same library on another project and it is working there. the terminal give me the following error when I use

pod install

enter image description here

I also update my cocoapods to version 1.11.0 but still getting this error.

Does anyone know any solution?

Taimoor Arif
  • 750
  • 3
  • 19
  • What do you get when you do `pod --version`? From the error it sounds like you need to update your CocoaPods: `sudo gem install cocoapods` – LinusGeffarth Dec 13 '21 at 12:46
  • you can understand by the error message, your current version of CocoaPods is 1.10.1, you need to update your pod to 1.10.2 to install GoogleAppMeasurement. – channu Dec 13 '21 at 13:25
  • i had updated my cocoapods but still this is giving the same error and it is doing this for only 1 project. i am downloading the same pod in another project and it is working there. – Taimoor Arif Dec 14 '21 at 07:00
  • Could you type `pod --version` and ensure that its version is correct? You might have downloaded a good version, but it's not the one that you are using: ie it's there, but you are still using the previous one. – Larme Dec 15 '21 at 10:12
  • @Larme i had updated the pods but when I use `pod --version`, this is still have the old version of cocoapods. I had updated the cocoapods again and it works. Thanks! – Taimoor Arif Dec 15 '21 at 10:36

0 Answers0