software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
9.02k stars 1.3k forks source link

Upgrade reanimate 1.9.0 to 3.3.0 failed (iOS only) in integration to Existing App project (Android work fine) #4607

Closed sunti closed 11 months ago

sunti commented 1 year ago

Description

Screenshot 2566-06-19 at 17 22 29

when integration with existing App. iOS side got error as attached picture (Android work fine)

my package json is likes this

"dependencies": { "@react-native-community/art": "react-native-community/art", "@react-native-community/async-storage": "^1.12.1", "@react-native-community/masked-view": "^0.1.11", "@react-native-community/netinfo": "^9.3.9", "@react-native-community/slider": "^4.4.2", "@react-native-community/viewpager": "^5.0.11", "@react-navigation/bottom-tabs": "^6.5.7", "@react-navigation/drawer": "^6.6.2", "@react-navigation/native": "^6.1.6", "@react-navigation/stack": "^6.3.16", "@storybook/react-native": "^6.5.3", "@types/highlight-words-core": "^1.2.1", "@types/lodash": "^4.14.194", "@types/redux-actions": "^2.6.2", "apollo-cache-inmemory": "1.5.1", "apollo-client": "2.5.1", "apollo-link": "1.2.11", "apollo-link-context": "1.0.17", "apollo-link-error": "1.1.10", "apollo-upload-client": "10.0.0", "graphql": "14.2.1", "graphql-tag": "2.10.1", "highlight-words-core": "^1.2.2", "hoist-non-react-statics": "^3.3.2", "lodash": "^4.17.21", "lottie-ios": "3.4.0", "lottie-react-native": "^5.1.4", "mockdate": "^3.0.5", "moment": "^2.29.4", "moment-timezone": "^0.5.43", "patch-package": "^7.0.0", "prop-types": "^15.8.1", "react": "18.2.0", "react-apollo": "2.5.5", "react-native": "0.71.7", "react-native-camera": "^4.2.1", "react-native-charts-wrapper": "0.5.11", "react-native-check-app-install": "https://github.com/KasidisAtCodefin/react-native-check-app-install.git", "react-native-device-info": "2.1.3", "react-native-flipper": "0.164.0", "react-native-gesture-handler": "https://github.com/KasidisAtCodefin/react-native-gesture-handler", "react-native-image-marker": "^0.6.3", "react-native-image-resizer": "^1.4.5", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-linear-gradient": "^2.6.2", "react-native-loading-spinner-overlay": "^3.0.1", "react-native-markdown-view": "^1.1.4", "react-native-masked-text": "^1.13.0", "react-native-material-dropdown": "https://github.com/SittisukChartrasee/react-native-material-dropdown.git", "react-native-material-textfield": "https://github.com/gabrieldonadel/rn-material-ui-textfield.git", "react-native-modal": "^13.0.1", "react-native-paper": "^5.7.2", "react-native-picker": "https://github.com/RedCatKnight/react-native-picker.git", "react-native-pie": "^1.1.2", "react-native-reanimated": "1.13.1", "react-native-safe-area-context": "^4.5.2", "react-native-safe-area-view": "^1.1.1", "react-native-screens": "^3.20.0", "react-native-secure-key-store": "^2.0.10", "react-native-signature-capture": "^0.4.12", "react-native-ssl-pinning": "^1.5.7", "react-native-svg": "^13.9.0", "react-native-webview": "11.26.1", "react-navigation": "^4.4.4", "react-navigation-stack": "^2.10.4", "react-navigation-redux-helpers": "^4.0.1", "react-navigation-tabs": "^2.11.2", "react-redux": "7.2.0", "redux": "4.0.5", "redux-actions": "2.6.5", "redux-devtools-extension": "2.13.8", "redux-flipper": "1.3.1", "redux-persist": "6.0.0", "redux-saga": "1.1.3", "redux-thunk": "2.3.0", "rn-fetch-blob": "https://github.com/RonRadtke/react-native-blob-util.git", "styled-components": "^5.3.10", "victory-native": "^36.6.10" }, "devDependencies": { "@babel/core": "^7.20.0", "@babel/plugin-proposal-decorators": "7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native-community/eslint-config": "^3.2.0", "@tsconfig/react-native": "^2.0.2", "@types/jest": "^29.2.1", "@types/react": "^18.0.24", "@types/react-native": "^0.72.0", "@types/react-redux": "^7.1.25", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.2.1", "eslint": "^8.19.0", "jest": "^29.2.1", "metro-react-native-babel-preset": "0.73.9", "prettier": "^2.4.1", "react-native-svg-transformer": "0.14.3", "react-test-renderer": "18.2.0", "typescript": "4.8.4" },

Steps to reproduce

  1. following standard tutorial in official page https://reactnative.dev/docs/integration-with-existing-apps
  2. import react-navigation & react-reanimated (3.3.0) to project and yarn + pod install 3.run test in Xcode 14.3 and error will occurs

Snack or a link to a repository

secret

Reanimated version

3.3.0

React Native version

0.71.7

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Release mode

Device

iOS simulator

Device model

No response

Acknowledgements

Yes

github-actions[bot] commented 1 year ago

Hey! 👋

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

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?