RCTThirdPartyFabricComponentsProvider.mm Build input file cannot be found React native
Asked Answered
P

6

13

My app was working and all of the sudden I started getting this error when I try building with Xcode:

Build input file cannot be found '…/RCTThirdPartyFabricComponentsProvider.mm'

I cleaned the build folder, deleted Derived data content and I am still having the same issue.

I would really appreciate any help.

Polynesia answered 8/1, 2024 at 20:34 Comment(1)
Same here, I still have no ideia why this is happeningAbrahamsen
E
12

I resolved this issue wit the next steps:

  1. Close Xcode.
  2. In your console in the root project:
cd ios
pod install
  1. In the ios folder, open the xcworkspace file.
  2. Clean the project in Xcode
  3. Run. The issue should gone.
Enclosure answered 2/2, 2024 at 16:31 Comment(0)
P
5

Just install the pods again and run the project.

npx pod-install
Perishable answered 22/4, 2024 at 12:57 Comment(0)
A
4

Apperly it was a bug in React Native that was already fixed, so we just need to wait until next update or try the beta/alphas versions -> Github

Abrahamsen answered 25/1, 2024 at 16:35 Comment(0)
U
1

There isn't enough information in your question to say for certain what the precise issue is; However, pod has it's own set of dependencies that need to be sated for your application to run and a missing RCTThirdPartyFabricComponentsProvider.mm could indicate these dependencies are missing.

This can happen if you've recently run yarn add foo or npm install bar and haven't yet re-run pod install inside your project's ios/ directory

Unhurried answered 10/4, 2024 at 18:44 Comment(0)
V
0

I had a similar problem after enabling the new architecture with turbo modules. In my case, cleaning the build folder helped to fix the problem. Using React Native v0.73.0.

Veedis answered 5/2, 2024 at 12:51 Comment(0)
G
-2

If you are using the latest version of Reanimated, add this in babel.config.js:

module.exports = {
  presets: ['module:@react-native/babel-preset'],
  plugins: [
    'react-native-reanimated/plugin',
  ],
};
Geoponics answered 20/1, 2024 at 5:27 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.