Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix 'ReactCommon/CallInvoker.h file not found' after manual upgrade from v0.61.5 to v0.63.3

I had to manually upgrade react-native, because nix react-native upgrade failed.

After following the Upgrade Helper for v.0.61.5 -> v0.63.3, ive cleaned my build folder and tried to run the application, only to get a failed build

the error is:

Lexical or Preprocessor Issue: 'ReactCommon/CallInvoker.h' file not found -> NativeToJsBridge.h

why is this happening? comment for additional environment/file information

like image 934
Jim Avatar asked Nov 04 '20 17:11

Jim


1 Answers

Go to the ios/ directory in your project.

Delete Podfile.lock and Pods/ directory, then run pod install --repo-update.

like image 181
chrishawn Avatar answered Nov 01 '22 08:11

chrishawn