我正在尝试在react native app中设置本机基。我已经完成了所有的步骤,并尝试在ios模拟器上运行应用程序。但我得到的错误如下。
命令失败:usr/libexec/plistbuddy-c print:cfbundleidentifier build/build/products/debug iphonesimulator/saw.app/info.plist
打印:条目“:cfbundleidentifier”不存在。
我做错什么了?
我正在使用下面的版本。
本机库是否支持react本机版本0.56.0?
react本机cli:2.0.1
本机反应:0.56.0
{
"name": "SAW",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"@expo/vector-icons": "^6.3.1",
"native-base": "^2.7.2",
"react": "16.4.1",
"react-native": "0.56.0"
},
"devDependencies": {
"babel-jest": "23.4.2",
"babel-preset-react-native": "5.0.2",
"jest": "23.5.0",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
}