-
Notifications
You must be signed in to change notification settings - Fork 139
Incompatible with react-native-reanimated #356
Description
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@alphaI 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.