-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
iOS: Version 2.17.0 fails to build on React Native 0.72.0+ #4522
Comments
Hey @jbrowning, thanks for reporting this issue. Currently, Reanimated 2 doesn't support 0.72.0-rc.5, but Reanimated 3 does with this patch #4523 so please upgrade if possible 🙏 |
@tomekzaw Do you have any plans to add RN 0.72 support for Reanimated 2? My project won't be able to upgrade to Reanimated 3 any time soon but we would like to keep using the latest RN version. |
same, is there a patch to add support for v2 ? |
@AlexanderEggers Can I ask you what's the reason why your project is not able to upgrade to Reanimated 3? |
Hi @tomekzaw , If I remember well, I think in my case it was an issue with https://github.com/dohooo/react-native-reanimated-carousel maybe with react-native-gesture-handler too |
@AlexanderEggers Thanks for quick response. I think it's way easier for us to resolve this issue than to backport support for 0.72 to v2 😄 Will take a look at it again soon. |
@sylvainbaronnet Can you please post a link to the specific issue? |
I will try again today to tell you exactly what's the issue |
@tomekzaw I successfully upgraded to v3 (on RN 0.71) so all good for me (I must have already upgraded other packages that had issues with v3 in the past or it's the latest v3 that fixed it) |
Are there plans to add support for react-native v0.72 in reanimated v2? |
Similar to @camilossantos2809 I cannot update reanimated to v3 in my project due to react-native-vision-camera and its plugin vision-camera-code-scanner. |
Similar to @arshak-kahnputers I'm blocked by reanimated v3 and my project cannot be built successfully cuz I'm using react-native-vision-camera too. |
Same for me ... HELP ! |
@tomekzaw We found another blocker for updating to v3.. it seems like that the |
@tomekzaw We are also in the VisionCamera situation. |
@metrix-hu Thanks for the update, that's exactly what I'm working on currently so fingers crossed! |
@tomekzaw I am crossing them hard, because I am really stuck now. react-native complained about the update, so I did. For that I modified at least 20 files in my project and I do not really want to revert them 😄 I am working on Android right now though. Thank you very much for looking at it! |
I also tried to update everything to V3 but vision-camera is really in early stages especially on Android. I tried modifying its files here and there but couldnt make it to build. |
@tectiv3 Can we set it somehow for android too? |
The fix for iOS should be on version v2.17.0 # RNReanimated.podspec
s.pod_target_xcconfig = {
"USE_HEADERMAP" => "YES",
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/#{folly_prefix}Folly\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Headers/Private/React-Core\" ",
"FRAMEWORK_SEARCH_PATHS" => "\"${PODS_CONFIGURATION_BUILD_DIR}/React-hermes\"",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
} |
@lexer Thanks for the response. We're actively working on it. Reanimated 3.5.0 will expose API that RNVisionCamera v2/v3 will use for frame processors. Any other libraries? |
@tomekzaw This carousel library is blocking some of our projects too: https://github.com/dohooo/react-native-reanimated-carousel Should the fix you're working on, work for it too? |
@Nox04 What exactly seems to be the blocker? It looks like react-native-reanimated-carousel uses Reanimated 2 API which is essentially the same as in Reanimated v3. Do you have some error message that you can paste here? |
@tomekzaw I wasn't aware of that. I'll try to use the carousel library with reanimated 3 and see if that works. Thanks for the answer! |
The frame processor issue also blocks me from upgrading my projects. Using this alongside react-native-vision-camera and vision-camera-code-scanner |
Are there any expectations or predictions of how soon this will be available? |
Everything is ready from our side, we just preparing for the release - most probably next week. |
🙏 |
any updates? |
yarn add react-native-reanimated@^3.5.1
yarn add tomekzaw/react-native-vision-camera#e323a61d360ba70d30ecf8522e515a6270225db0
|
@tomekzaw I can confirm it's working on iOS. Thank you. |
@tomekzaw Hi, thanks for your work. I tried the PR build and reanimated version you suggested and ios is working fine now but i am getting error while trying to run android.
Any idea what am i missing here? Thanks. |
@hemantgogia09 |
i am using react-native |
@tomekzaw sorry for bump any guidance that you can give here? I am stuck without this upgrade. |
Hi @tomekzaw, I got this error running on latest react-native@0.72.4, react-native-reanimated@3.5.2 and react-native-vision-camera@2.16.0 that should support reanimated@V3. It works fine for iOS build, but fails on Android build.
|
Just checked latest react-native-vision-camera@2.16.1 and react-native-reanimated@3.5.2 and it works for me! |
Using JSC and/or having an application It appears that if hermes is disabled |
For me it is still not working with react-native-vision-camera@2.16.1 and react-native-reanimated@3.5.2 and react-native@0.72.4 , similar to @Romick2005 , but I tried with react-native@0.72.0 and it worked |
Even if it works with react-native-reanimated@3.5.2 , I have another problem: ERROR Error: Reanimated V3 is not installed, Frame Processors are not available!, js engine: hermes
|
Bump |
To sum up:
|
How this can be done? |
For me, this resulted in |
@CelinaJa The PR was merged so you can use |
You gotta do this in
|
Description
Version 2.17.0 of this library encounters C++ dialect-related build errors on React Native 0.72.0-rc.5:
Changing the C++ dialect setting to match the new React Native
c++17
default seems to resolve this issue. We, like others, are stuck on Reanimated 2.x due toreact-native-vision-camera
.Steps to reproduce
Snack or a link to a repository
https://github.com/jbrowning/RN072Reanimated2
Reanimated version
2.17.0
React Native version
0.72.0-rc.5
Platforms
iOS
JavaScript runtime
None
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: