【发布时间】:2019-08-31 00:17:03
【问题描述】:
我使用命令 react-native init LocationExample --version 0.57.7
创建了一个新项目它创建了一个名为 LocationExample 的项目,但是当我进一步进入项目文件夹并运行命令 react-native run-ios 时。
这给出了一个错误说明 Entry, ":CFBundleIdentifier", Does Not Exist
我尝试通过运行命令 rm -rf ios/build 删除构建文件夹,还尝试通过 rm -rf node_modules 删除模式模块。之后我运行 yarn 命令再次安装 node_modules,但这没有任何效果。
编辑1:
/Users/apple/React Native/LocationExample/node_modules/react-native/scripts/ios-install-third-party.sh: line 56: /Users/apple/React/ios-configure-glog.sh: No such file or directory
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
也是这个错误
'glog/logging.h' file not found
预期:应用应该已安装并且应该成功运行。
实际:应用未安装,提示BundleIdentifier错误。
【问题讨论】:
标签: react-native cfbundleidentifier