Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'react/bridging/Bridging.h' file not found react native build iOS

Tags:

react-native

I am trying to build my project for iOS

  • react-native: 0.68.2
  • react: 17.0.2

But I get this error on iOS:

react/bridging/Bridging.h file not found in Pods/Development Pods/React-Codegen/FBReactNativeSpec.JSI

My minimum iOS deployment target is 12.4

like image 836
lmasneri Avatar asked Dec 20 '25 13:12

lmasneri


1 Answers

I encountered the exact same issue, and it turned out that the contents of the ios/build/generated folder were in an inconsistent state.

By removing the contents of the ios/build folder and the Pods folder, followed by running pod install, I managed to fix the error.

Hope this helps!

like image 139
jegor Avatar answered Dec 24 '25 00:12

jegor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!