I am engaged on a React Native iOS mission utilizing React Native 0.81.4, and I am getting a CocoaPods–associated error when working:
Putting in Ruby Gems
Putting in CocoaPods dependencies with New Structure
error The model of CocoaPods used to generate the lockfile (1.16.2) is increased than the model of the present executable (1.15.2). Incompatibility points could come up.
error One thing went fallacious whereas putting in CocoaPods. Please run pod set up manually.
Screenshot of the total error:
(Uploaded screenshot)
Error message: CocoaPods 1.16.2 lockfile vs 1.15.2 executable
It looks like the Podfile.lock was generated utilizing CocoaPods 1.16.2, however my system is utilizing 1.15.2.
I am undecided whether or not I ought to improve CocoaPods globally, downgrade the lockfile, or reinstall pods.
What I’ve tried
– Working pod set up manually → similar warning/error.
– Working sudo gem set up cocoapods (however my machine makes use of RVM and warns about Ruby interpreter mismatches).
– Cleansing the iOS construct folder.
– reinstall node_modules
– replace ruby, cocoapods, gems, bundler
Questions
(1) Ought to I improve CocoaPods to 1.16.2 (and if sure, what is the right methodology when utilizing RVM)?
(2) Is there a protected technique to regenerate the Podfile.lock for 1.15.2 as an alternative?
(3) Is that this associated to React Native 0.81.4’s New Structure setup?
Any steerage on the right repair can be appreciated!

