Assertion failed: (shareableWorklet->valueType() == Shareable::WorkletType && "only worklets can be scheduled to run on UI"), function scheduleOnUI, file NativeReanimatedModule.cpp, line 214. (lldb)
Description
Ios App crashed after running from XCode

Steps to reproduce
npm install react-native-reanimated cd ios pod install open xcode & clean build folder run project 1st default screen came with app name , after bundle start app getting crash
Snack or a link to a repository
NA
Reanimated version
3.0.1
React Native version
0.69.7
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
iphone 16.4.1
Acknowledgements
Yes
Hey! 👋
It looks like you've omitted a few important sections from the issue template.
Please complete Snack or a link to a repository section.
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?
did you fix the issue? im getting this too
No, Still stuck on this issue.
Hey! Thanks for the report but without reproduction, we can't help you, because this problem can be caused by other dependencies of your application that uses Reanimated. If anyone provides repro I will be happy to reopen the issue again 😀
any fix for it?
@hoseinfo any reproduction? 😅
@Princy-vaidya @hoseinfo @lukeeey
I just ran into this problem after updating the package, the issue was a result of not having the react-native-reanimated plugin in my babel.config.js.
module.exports = {
presets: [
...
],
plugins: [
...
'react-native-reanimated/plugin',
],
};
Documentation can be found on their website: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/
Hope this helps.