أتبع دليل البدء من صفحة التفاعل الأصلية. عند تشغيل الأمر react-native run-ios
حصلت على الخطأ التالي:
watchman--no-pretty get-sockname returned with exit code null dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
Referenced from: /usr/local/Cellar/watchman/4.5.0/libexec/bin/watchman
Reason: image not found
ERROR watchman--no-pretty get-sockname returned with exit code null dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
Referenced from: /usr/local/Cellar/watchman/4.5.0/libexec/bin/watchman
Reason: image not found
Error: watchman--no-pretty get-sockname returned with exit code null dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
Referenced from: /usr/local/Cellar/watchman/4.5.0/libexec/bin/watchman
Reason: image not found
نظامي: macos 10.11.6 ، العقدة 6.2.2
التعليق الأكثر فائدة
الحل هنا
https://github.com/facebook/react-native/issues/2941