Quantcast
Channel: Active questions tagged cocoapods - Stack Overflow
Viewing all articles
Browse latest Browse all 1028

Cocoapods Version on Macos

$
0
0

I am on MacOS on an M3 Pro machine running Flutter through VS Code

I am trying to compile my app, but I get the following message

Error: CocoaPods specs repository is too out-of-date to satisfy dependencies.To update the CocoaPods specs, run:  pod repo update

So I tried to run pod repo update, but then it tells me that I should update CocoaPods

Updating spec repo `trunk`CocoaPods 1.16.1 is available.To update use: `gem install cocoapods`For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.16.1

However, when I check which version I have installed using gem which cocoapods, it tells me

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.16.2/lib/cocoapods.rb

Clearly, I have a newer version, but I do another check, just to make sure using gem which cocoapods

That gives me the following list:

*** LOCAL GEMS ***cocoapods (1.16.2)cocoapods-core (1.16.2)cocoapods-deintegrate (1.0.5)cocoapods-downloader (2.1)cocoapods-plugins (1.0.0)cocoapods-search (1.0.1)cocoapods-trunk (1.6.0)cocoapods-try (1.2.0)

I definitely have the newer version of CocoaPods. How do I fix this?


Viewing all articles
Browse latest Browse all 1028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>