全局安装:npm install -g react-native-cli新建一个文件夹,然后进行测试react-native init AwesomeProjectcd AwesomeProjectreact-native run-ios