我正在尝试启动react native hello world应用程序,但是出现错误,提示在提供的路径中找不到应用程序包。。
这是我在xcode捆绑软件阶段(xcode版本10.0和mac IOS high sierra版本10.13.6)上的路径:
export NODE_BINARY=node
../node_modules/react-native/scripts/react-native-xcode.sh
根据我的xcode偏好设置,这是我的情况,请参阅附件 my screenshoot, 在我的React Native项目中,我有以下设置
{
"name": "test",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.3.1",
"react-native": "0.55.4"
},
"devDependencies": {
"babel-jest": "23.6.0",
"babel-preset-react-native": "4.0.1",
"jest": "23.6.0",
"react-test-renderer": "16.3.1"
},
"jest": {
"preset": "react-native"
}
您能帮我解决这个问题吗?