jschelpers/JavaScriptCore.h file not found after ejecting the app


#1

I got jschelpers/JavaScriptCore.h file not found after ejecting the app…

I tried, deleting the Derived Data, pod install, cleaning the npm modules and pods but still having the same problem.


#2

It’s been a bit but I feel like this was the error I was getting and I resolved it by doing the following:

Go to your podfile and under the React pod, add the subspec: "BatchedBridge"

If it’s already in your podfile, I’m mistaken in which case, my bad!

Cheers,
Adam


<React/RCTJSCExecutor.h> file not found
#3

Thank you!

i fixed finally after 3 hours :frowning:

you need to delete node_modules , .xcworkspace, Podfile.lock and Pods folder,

package.json

“react-native”: “https://github.com/expo/react-native/archive/sdk-18.0.1.tar.gz”,

Podfile, add “BatchedBridge”

then ran

npm install

then cd to ios then

pod install.