Skip to content
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

how to install on modern versions of React Native? #12

Open
heaversm opened this issue May 9, 2023 · 0 comments
Open

how to install on modern versions of React Native? #12

heaversm opened this issue May 9, 2023 · 0 comments

Comments

@heaversm
Copy link

heaversm commented May 9, 2023

Hi - when I try to install this as instructed, I first get an error on link:

error: unknown command 'link'

If I attempt to install the way I installed other modules, by then switching to the ios directory and running pod install, I get:

[!] CocoaPods could not find compatible versions for pod "React/Core":
  In Podfile:
    RNMusicMetadata (from `../node_modules/react-native-music-metadata`) was resolved to 0.0.2, which depends on
      React/Core

None of your spec sources contain a spec satisfying the dependency: `React/Core`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

I tried the approach recommended on StackOverflow:

pod install --repo-update

as well as various versions of deleting podfile / package lock, etc.

I'm using:

"react": "18.2.0",
"react-native": "0.71.7",

on a non-m1 macbook pro - ventura 13.2.1

Any ideas of what else to try? Is it something with the Podspec?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant