iosreactjsreact-nativemobile

'FBReactNativeSpec/FBReactNativeSpec.h' file not found


I'm trying to build my iOS React-Native app and I keep getting this issue when attempting to build:

'FBReactNativeSpec/FBReactNativeSpec.h' file not found

Sometimes it doesn't show up, sometimes it does.

react-native-cli: 2.0.1 react-native: 0.76.7

Has anyone encountered and solved this issue before?

I've tried cleaning DerivedData, running npx react-native codegen, re-installing pods, cleaning build project. Almost everything. Seems to be very stubborn.


Solution

  • this could be releated to minimum deployment target of your pods as well. Edit the post install actions in your podfile. Let me know if this works out .