Just bought a new laptop running macOs Catalina 10.15 (upgraded to zsh as default shell) and trying to start my React Native (0.61.2) project but XCode (10.3) keeps throwing this error:
error: open /Users/.../node_modules/react-native/ReactCommon/jsinspector/InspectorInterfaces.h: Operation not permitted
This is what I tried to resolve it:
$ git reset --hard origin/master
$ git pull origin master
$ rm -rf node_modules/
$ npm install
I also tried:
$ npm start -- --reset-cache
I tried to re-install Pods:
$ sudo gem install cocoapods-clean
$ pod deintegrate
$ pod clean
$ pod install
And of course a Clean Build in Xcode.
I feel like I tried everything but keep facing this issue - any suggestions?