react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

[iOS] Build errors with reanimated 3.0.0-rc.0 and react-native 0.68.2/0.69.0-rc.1

Open kesha-antonov opened this issue 3 years ago • 6 comments

Description

Hi!

I've tried to build reanimated with recent RN and have errors:

Screenshot 2022-05-19 at 14 43 24

Expected behavior

No errors.

Actual behavior & steps to reproduce

Snack or minimal code example

Package versions

name version
react-native 0.69.0-rc.1
react-native-reanimated 3.0.0-rc.0
NodeJS v16.14.0
Xcode 13.3.1
Java openjdk 11.0.15 2022-04-19 LTS
Gradle 7.1.1
expo 45.0.4

Affected platforms

  • [ ] Android
  • [x] iOS
  • [ ] Web

kesha-antonov avatar May 19 '22 11:05 kesha-antonov

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Snack or minimal code example section.

github-actions[bot] avatar May 19 '22 11:05 github-actions[bot]

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snippet of code, a snack or a link to a GitHub repository that reproduces the problem?

github-actions[bot] avatar May 19 '22 11:05 github-actions[bot]

Same issue here, fresh install RN (0.69.0-rc.3) and reanimated (3.0.0-rc.0)

kerryaustin avatar May 24 '22 21:05 kerryaustin

Figured out my issue, I believe I installed react-native via an old react-native-cli. The errors above were due to having 0.68.2 versions of pods being installed even though i had react-native pinned to 0.69.

@kesha-antonov you might want to check that you actually have react-native 0.69 in your node_modules.

FYI 0.69 new arch installs hermes by default and the hermes-engine build took a long time (~1 hour) on my 2018 mbp

kerryaustin avatar May 25 '22 01:05 kerryaustin

Figured out my issue, I believe I installed react-native via an old react-native-cli. The errors above were due to having 0.68.2 versions of pods being installed even though i had react-native pinned to 0.69.

@kesha-antonov you might want to check that you actually have react-native 0.69 in your node_modules.

FYI 0.69 new arch installs hermes by default and the hermes-engine build took a long time (~1 hour) on my 2018 mbp

Couldn't build with rn 0.69-rc.3

kesha-antonov avatar May 25 '22 21:05 kesha-antonov

Hello! Reanimated 3 with Fabric enabled requires React Native 0.69+. It will not work on 0.68.x.

Couldn't build with rn 0.69-rc.3

@kesha-antonov Can you please specify what seems to be the problem?

tomekzaw avatar Jun 06 '22 17:06 tomekzaw