-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CocoaPods could not find compatible versions for pod "react-native-mmkv" #55
Comments
which iOS deployment target are you using? Send me your |
This is my Podfile:
|
try - platform :ios, '10.0'
+ platform :ios, '11.0' |
With platform :ios, '11.0', I getting this error on pod install:
/usr/local/bin/pod install
CocoaPods : 1.10.1
cocoapods-deintegrate : 1.0.4
Error
|
Hmm, can you run the example app in this repo? |
I've just tried the example project.
Report
Stack
Plugins
Podfilerequire_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'
target 'MmkvExample' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
:hermes_enabled => true
)
#pod 'react-native-mmkv', :path => '../..'
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
use_flipper!({ 'Flipper' => '0.74.0' })
post_install do |installer|
react_native_post_install(installer)
end
end Error
|
I'm sorry, I don't have an M1 MacBook to look into this more. Have you tried to google for similar errors? Maybe it's a CocoaPods issue? You could try removing the Intel archs from MMKV |
Thank you for your help but I didn't find nothing about this problem on google. I suppose it has to be something with the Apple Silicon although I managed to run others react-native projects. Could you point me in the right direction with |
did you try this? |
Finally 🤟! I've managed to install the pods and run the app with this steps:
PS: I'll let you know if I'll have more problems on the M1 Mac. ¿Do you think is necessary to update the README, just in case, for the users with m1 architecture ? Thank you :) |
@developerdanx1 I can't get it to work with (or without) Rosetta. |
This package is working well for me on react-native 0.68
The moment I remove this package everything works perfectly again. It's only on that react-native version. |
Hi, I'm trying to install pods after installing the library but I'm getting this error. (I'm on a MacBook Air m1)
Any help would be great.
The text was updated successfully, but these errors were encountered: