LeetCode Yeet
LeetCode Yeet

Reputation: 43

Build failure for react-native-reanimated

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.

Upvotes: 4

Views: 7367

Answers (2)

Daniel Danielecki
Daniel Danielecki

Reputation: 10502

platform :iOS '13.4' in Podfile fixed for me.

Upvotes: 0

KONDRATJEV
KONDRATJEV

Reputation: 86

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

Upvotes: 5

Related Questions