Open AChevallier opened 2 months ago
I have the same issue if I use use_frameworks! :linkage => :static
in Podfile
Works fine without use_frameworks
Update: it works fine after downgrading to version 7.2.0
Thank you @mrcool-ru!
Indeed downgrading to version 7.2.0 seems to work. (sad because I had sightly more crash on android with the 7.2.0)
Unfortunately, I have to use use_frameworks! :linkage => :static
because I am using react-native-firebase
Hopefully the 7.4.0 will fix that
I encountered a similar issue on ios. The build works fine in debug mode, but the IOS app crashes on startup with version 7.3.0
. Android is ok.
+1
Same happening to me. It seems that use-frameworks is not compatible with latest 7.3.0 version.
Thanks for reporting this! The problem is that our repo is a couple of RN versions behind. I've just started working on updating the it to support the latest couple of versions of RN. Step one is getting all of our packages upgraded to more recent versions while still using RN 0.72.x. This'll make it easier to do the next couple of upgrades. If anyone wants to give it a test on a 0.72.x project, that'd be super helpful: https://github.com/rive-app/rive-react-native/pull/267
I encountered the same issue and have been digging into it. IMO it's not related to Expo or React Native version as out-of-the-box, even latest versions are working fine with rive-react-native
The issue seems to be tied to use_frameworks! :linkage => :static
, which a lot of people need for @react-native-firebase
. The crash started happening after this commit in rive-ios
.
It seems like with static linkage, symbols from Rive’s Yoga fork are being exported, which is causing a collision with React Native’s Yoga and leading to that bad access error.
I haven’t found a workaround, and I think this might need to be handled in rive-runtime
to avoid these collisions
Any thoughts or ideas?
I am upgrading from expo 50 to expo 51 with
"rive-react-native": "7.3.0"
My builds on android & ios are working. Everything is working well on android.after a successful
eas build -p ios --profile simulator --local --clear-cache
, I start the app and it crashes. I can see0x10e7cc000 - 0x10eceffff rive.app.ios.runtime.RiveRuntime (5.14.0)
in the crash.I tried to remove
rive-react-native
from my app & it workedHas anyone managed to get it to work on Expo 51?