question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not working with Fabric on iOS

See original GitHub issue

Description

Using latest Reanimated (2.4.1) together with the current 0.68 release candidate is not working with the new architecture/fabric enabled on iOS.

Expected behavior

The app compiles with the USE_FABRIC=1 RCT_NEW_ARCH_ENABLED=1 flags.

Actual behavior & steps to reproduce

The app fails to compile with the error:

'react/config/ReactNativeConfig.h' file not found

Snack or minimal code example

npx react-native init ReanimatedFabric --version 0.68.0-rc.1
cd ReanimatedFabric
yarn add react-native-reanimated@2.4.1
cd ios
USE_FABRIC=1 RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
yarn ios

Package versions

name version
react-native 0.68.0-rc.0, 0.68.0-rc.1
react-native-reanimated 2.2.4, 2.4.1
NodeJS 16.14.0
Xcode 13.2.1

Affected platforms

  • Android
  • iOS
  • Web

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:19
  • Comments:28 (9 by maintainers)

github_iconTop GitHub Comments

32reactions
tomekzawcommented, Aug 8, 2022

Hello! We’re actively working on porting Reanimated to Fabric but it’s not completely ready yet. In fact, Reanimated integrates quite closely with the renderer system so we need to rewrite some parts specifically for Fabric and that’s exactly what we have been doing for the past few months.

The good news is that in parallel we’re porting react-native-gesture-handler and react-native-screens to Fabric as well so hopefully the developers will be able to enable Fabric in their apps as soon as possible.

edit: Reanimated, Gesture Handler and Screens finally support Fabric! 🎉

15reactions
PrinceUBScommented, Apr 23, 2022

FYI this does still seem be happening with react-native 0.68.1 and react-native-reanimated 2.8.0. I really appreciate all the hard work you guys are doing!

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fabric Crashlytics not working. iOS 14 app/XCode 12
Ensure you add the code in order to force a crash, something like that firebase · First, you need to build the app...
Read more >
Enabling Fabric on iOS - React Native
1. Enable Fabric in Podfile​ Add changes to your Podfile. You can see some examples in RNTester and rn-demo-app.
Read more >
Problems entering text into IText objects on iPad/Android tablets
I'm using Fabric 1.6.0-rc1 and testing on an iPad with iOS 9.1 and Safari, and a generic Android tablet with Android 4.1.1, the...
Read more >
JOANN - Shopping & Crafts on the App Store
Download JOANN - Shopping & Crafts and enjoy it on your iPhone, iPad, ... She did not seem to want to work with...
Read more >
How to Install Mods on Fabric for Minecraft - Alphr
1. Choose the version of Fabric installer you want from https://fabricmc.net/use/. 2. Download the JAR/Universal installer. 3. Once downloaded, run the installer.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found