As we all know MacOS is now launched its official Mac OS Catalina 10.15 version version which is pretty impressive. But with new operating system there is always new problems and one them is for react native developers. In Catalina they have improved security of MAC in any possible way. So now when we launched react native project in MAC it will show us a Watchman Response error. The error comes because MAC dose not authenticate the Watchman to access the react native file for security reasons. But we can enable Watchmen for accessing react native files from System Preferences. So in this tutorial we would solve React Native MacOS Catalina Watchman Response Error Operation not Permitted in iOS devices. So let’s get started .
Error Message:
watchmanResponse: { resolve_projpath: path : Operation not permitted , version 49.0 }
Process terminated. Press <enter> to close the window.
Screenshot of Error:
Contents in this project React Native MacOS Catalina Watchman Response Error Operation not Permitted :
1. The watchman error comes because in newer version of MacOS Catalina it dose not allow third party applications to access the disk apps or allow them to read content without proper permission. So we have to manually give Full Disk Access permission to Watchman. So Click on the Apple Icon and open System preferences.
2. Click on Security & Privacy.
4. Click on the Small Lock Icon present at bottom left side of window.
5. Now it will ask you to enter your MacOS Catalina password, So enter the password and click on Unlock.
6. Click on Small Plus + Icon present at bottom of Allow Apps list
7. Search Watchman in search bar and Select both Watchman like i did in below screenshot and click on Open.
8. Here you go now your Watchman is allow to access your files present on your MacOS disk.
9. Now close the window and restart your MacOS Catalina. After restart execute
react–native run–ios command and you will see your project will run successfully.