Lorenzo Correa
Lorenzo Correa

Reputation: 53

error reading .. node_modules/react-native/ReactCommon/jsinspector/InspectorInterfaces.cpp'

has anyone had this error

when I run the project through the terminal it works .. however in xcode10 this error appears

app clang error

error reading .. node_modules/react-native/ReactCommon/jsinspector/InspectorInterfaces.cpp'

Upvotes: 4

Views: 1882

Answers (1)

harshit_garg
harshit_garg

Reputation: 61

Try giving XCode full disk access.

  • Open System & Preferences
  • Open Security & Privacy
  • Switch to Privacy tab
  • Select Full Disk Access Option from the list on the left side
  • Click on the lock below and enter your user password to make changes
  • Click on +(plus) Icon and then select XCode
  • Restart XCode and Rebuild project

You will now be able to build and run your project.

Upvotes: 5

Related Questions