I am developing a React Native project. It was all fine until I decided to update Reanimated as the app would display error on android “If you want to use Reanimated 2 ….”. Since then, the app displays the following error on launch (pasting error from xcode):
Terminating app due to uncaught exception ‘RCTFatalException: Unsupported’, reason: ‘Unsupported’
*** First throw call stack:
(
0 CoreFoundation 0x00000001149e9571 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00000001100977e8 objc_exception_throw + 48
2 araz 0x000000010250c115 RCTFormatError + 0
3 araz 0x00000001025230a1 __28-[RCTCxxBridge handleError:]_block_invoke + 577
4 libdispatch.dylib 0x00000001155273ec _dispatch_call_block_and_release + 12
5 libdispatch.dylib 0x00000001155286d8 _dispatch_client_callout + 8
6 libdispatch.dylib 0x000000011553748c _dispatch_main_queue_drain + 1420
7 libdispatch.dylib 0x0000000115536ef2 _dispatch_main_queue_callback_4CF + 31
8 CoreFoundation 0x0000000114945b34 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
9 CoreFoundation 0x000000011494046f __CFRunLoopRun + 2463
10 CoreFoundation 0x000000011493f6ed CFRunLoopRunSpecific + 557
11 GraphicsServices 0x0000000119b5308f GSEventRunModal + 137
12 UIKitCore 0x000000012aa8d6ee -[UIApplication _run] + 972
13 UIKitCore 0x000000012aa9216e UIApplicationMain + 123
14 araz 0x000000010237f4f0 main + 80
15 dyld 0x000000010c0593e0 start_sim + 10
16 ??? 0x0000000203e65366 0x0 + 8655360870
)
libc++abi: terminating due to uncaught exception of type NSException
Versions I am using :
"react-native": "0.63.0",
It was working fine with react-native-reanimated 2.2.2 on ios, but now if I downgrade it back, it still wouldn’t launch.
I tried:
-
versions 2.4.0, 2.8.0, 2.9.1, 2.10.0, 2.14.0, 2.17.0
-
deleting the app from simulator and installing again
-
clearing the cache
-
deleting&installing node_modules
-
deleting&installing Pods and Podfile.lock
Any help would be appreciated