1、npm install2、react-native run-ios / react-native run-ios --simulator "iPhone X” 查看iOS设备:xcrun simctl list devices3