Run-ios not working
I have an embedded IOS responsive and it worked fine, oddly enough, it only worked in XCode but not in the terminal using this command:
react-native run-ios
react-native run-ios --device
Both commands don't work in the root directory, I tried to delete the node_modules folder and then run:
npm install; react-native link;
Unfortunately it doesn't work, here are my logs:
Any help!
source to share
It looks like you have a lot of missing libraries that won't load for some reason, I recommend that you remove all loaded libraries and then start over:
- remove node_modules / folder
- delete ios / Pods folder
- delete ios / build folder
- run:
npm install
- run:
cd ios; pod install; cd../
- run:
react-native link
What he
source to share
I managed to get it to work using the instructions here facebook / watchman # 376:
sudo launchctl unload -F ~root/Library/LaunchAgents/com.github.facebook.watchman.plist
Don't know enough about the watchman to understand why it runs as a service. But it worked anyway.
or
Uninstalling and reinstalling Watchman fixed this issue for me.
source to share
Please try this solution, it might work for you.
https://github.com/facebook/react-native/issues/24450#issuecomment-516760157
source to share