thecodingmachine / react-native-boilerplate

A React Native template for building solid applications 🐙, using JavaScript 💛 or Typescript 💙 (you choose).
https://thecodingmachine.github.io/react-native-boilerplate/
MIT License
4.87k stars 874 forks source link

[NEW FEATURE REQUEST/IDEA]: Cocoapods version upgrade #453

Open arnimi opened 1 week ago

arnimi commented 1 week ago

Is your feature request related to a problem?

✖ Installing CocoaPods dependencies with New Architecture (this may take a few minutes) error Calling DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please callDidYouMean.correct_error(error_name, spell_checker)' instead. [!] The version of CocoaPods used to generate the lockfile (1.16.0) is higher than the version of the current executable (1.14.3). Incompatibility issues may arise.

Describe the solution you'd like

Upgrade Cocoapods version to allow new xcode command line version

Describe alternatives you've considered.

No response

JeremyDolle commented 1 week ago

It's seems to be the opposite. You'll need to update your version of cocoapod (1.14.3) because the boilerplate use a higher version (1.16.0)

arnimi commented 1 week ago

I misunderstood. That's it! Thanks!

Now, after upgrading cocoapods I get this error when creating project:

NOTE: Gem::Platform.match is deprecated; use Gem::Platform.match_spec? or match_gem? instead

EDIT: If I choose not to install cocoapods on project creation, delete podfile.lock and then execute pod install, it works

arnimi commented 1 week ago

Running the project from xcode works perfect but running yarn ios on console never ends stuck on Building the app...