Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build failure for react-native-reanimated

Tags:

react-native

I am currently using MacBook Air M1 2020 w/ OS 11.6, and I have been encountering an issue with running the simulator after installing react-native-reanimated. Any other installations (e.g. @react-navigation/bottom-tabs and @react-navigation/stack) work fine, but when I try run (react-native run-ios) after installing react-native-reanimated, it gives the following error message:

----
** BUILD FAILED **

The following build commands failed: CompileC /Users/USERNAME/Library/Developer/Xcode/DerivedData/App-bsbiygstdsripxdqednowpxwwzst/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/Objects-normal/arm64/UIResponder+Reanimated.o /Users/USERNAME/Documents/GitHub/ReactNative-Projects/App/node_modules/react-native-reanimated/ios/native/UIResponder+Reanimated.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNReanimated' from project 'Pods')

---

When I first install the package via npm install react-native-reanimated, it throws a vulnerability issue saying there are 65 vulnerabilities (10 moderate, 30 high, 25 critical), but there, it doesn't cause any issue during pod install command.

like image 484
LeetCode Yeet Avatar asked Nov 01 '25 05:11

LeetCode Yeet


1 Answers

Update react-native-reanimated to 2.3.0-beta.2 or higher.

like image 175
KONDRATJEV Avatar answered Nov 04 '25 03:11

KONDRATJEV



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!