Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Incompatible with react-native-reanimated #356

Open
sheng-di opened this issue Jun 11, 2020 · 2 comments
Open

Incompatible with react-native-reanimated #356

sheng-di opened this issue Jun 11, 2020 · 2 comments

Comments

@sheng-di
Copy link

sheng-di commented Jun 11, 2020


What's wrong:

I tried to install react-native-reanimated, but the following error occurs:

[!] CocoaPods could not find compatible versions for pod "ReactCommon/callinvoker":
  In Podfile:
    ReactCommon/callinvoker (from `../node_modules/react-native/ReactCommon`)

None of your spec sources contain a spec satisfying the dependency: `ReactCommon/callinvoker (from `../node_modules/react-native/ReactCommon`)`.

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.

Steps to reproduce:

# init it, choose bowser
ignite init MyApp
# install react-native-reanimated
cd MyApp
yarn add react-native-reanimated@alpha

I tried yarn add react-native-reanimated@alpha and yarn add react-native-reanimated without alpha which is version 1.9.x, but they have the same error.


ignite doctor results:
System
platform darwin
arch x64
cpu 4 cores Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
directory ios /Users/sheng/Documents/local/TestAnimationNone/ios

JavaScript
node 12.13.0 /Users/sheng/.nvm/versions/node/v12.13.0/bin/node
npm 6.12.0 /Users/sheng/.nvm/versions/node/v12.13.0/bin/npm
yarn 1.22.0 /usr/local/bin/yarn

Ignite
ignite-cli 3.5.2 /usr/local/bin/ignite
ignite src build /Users/sheng/.config/yarn/global/node_modules/ignite-cli/build
generators

Android
java 1.8.0_211 /Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/bin/java
android home - /Users/sheng/Library/Android/sdk

iOS
xcode 11.0
cocoapods 1.9.3 /usr/local/bin/pod

BTW, I tested on two macbook, and they have the same issue.

@sheng-di
Copy link
Author

I just removed ReactCommon/callinvoker in Podfile, and it seems no side effect, but I worried if it has potential disadvantages.

@humarkx
Copy link

humarkx commented Jun 23, 2020

Wrong perspective, its react-native-reanimated that is incompatible with RN < 0.62

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

No branches or pull requests

2 participants