react-native 运行错误:unable to find
2018-10-13 本文已影响0人
dushuzhong

*检查xcode -preferences-locations位置是否安装commond line tools,没有就需要安装命令行工具,并选择

*进入项目目录,再次尝试运行react-native run-ios
*终端看到如下图,就可以成功运行了

模拟器

*检查xcode -preferences-locations位置是否安装commond line tools,没有就需要安装命令行工具,并选择
*进入项目目录,再次尝试运行react-native run-ios
*终端看到如下图,就可以成功运行了
模拟器