- [React-Native]编译失败Print: Entry,
- React-Native Print: Entry, "
- React-Native(Print: Entry, "
- react-native 启动报错 Print: Entry,
- React-Native 新手踩坑(Print: Entry,
- Print: Entry, ":CFBundleIdentifi
- Print: Entry, ":CFBundleIdentifi
- Print: Entry, ":CFBundleIdentifi
- React Native 遇到的错误及修改方法
- React-Native 遇到坑,方法总结
问题描述
react-native run-ios
编译失败,提示Print: Entry, ":CFBundleIdentifier", Does Not Exist。
但在Xcode中Native编译运行OK,不存在代码错误。
解决方法
-
rm -rf node_modules
-
rm -rf ~/.rncache
-
用Xcode打开当前项目, 找到File|Project Setting或Workspace Setting|找到Derived Data下方的Advanced,点击打开。
选择Custom,下拉选择Relative to Workspace,在路径前方增加"build"
Products修改为build/Build/Products
Intermediates修改为:build/Build/Intermediates
image -
npm install
或 `yarn`` -
react-native link
-
react-native run-ios
-
succeed!
网友评论