这种在iOS编译的报错解决方法
1.删除iOS/build/下的所有文件,然后执行命令:
watchman watch-del-all
rm -rf node_modules && npm install
react-native run-ios -- --reset-cache
若再次编译出现以下错误:
Print: Entry, ":CFBundleIdentifier", Does Not Exist
请尝试执行 react-native upgrade
watchman watch-del-all
rm -rf node_modules && npm install
react-native run-ios -- --reset-cache
Print: Entry, ":CFBundleIdentifier", Does Not Exist
请尝试执行 react-native upgrade