解决react-native run-ios报错问题--Print: Entry, ":CFBundleIdentifier", Does Not Exist
来源:互联网 发布:淘宝大学 老师 编辑:程序博客网 时间:2024/06/05 06:45
Mac环境下,在命令行中run-ios构建时报错:CFBundleIdentifier", Does Not Exist
打开XCode,进入.xcodeproj文件,运行,编译时报错:'boost/iterator/iterator_adaptor.hpp' file not found’
这个问题只在react native 0.45.0及以后的版本中出现,stackoverflow 上的各种方法均无效。
先贴出解决方法 如下:
这个问题产生原因:
/Users/你的用户名/.rncache中boost_1_63_0.tar.gz,double-conversion-1.1.5.tar.gz,folly-2016.09.26.00.tar.gz,glog-0.3.4.tar.gz文件不完整。或者node_modules/react-native/third-party 文件不完整。
具体操作:
1、删除/user/你的用户名/.rncache目录下的boost_1_63_0。重新下载,下载网址http://www.boost.org/users/history/version_1_63_0.html
2、打开命令行工具,在项目目录下输入rm -rf node_modules && rm -rf ~/.rncache && yarn
3、npm install
4、react-native upgrade
5、react-native run-ios
_______________________________________________________________________________________________
若以上方法无效,可采用下面的方法:
创建项目暂时先使用react-native init MyApp –version 0.44.3,指定某个版本。
你可以使用–version参数(注意是两个杠)创建指定版本的项目。例如react-native init MyApp -version 0.44.3。注意版本号必须精确到两个小数点。
- 解决react-native run-ios报错问题--Print: Entry, ":CFBundleIdentifier", Does Not Exist
- react-native开发:运行react-native run-ios报错--Print: Entry, ":CFBundleIdentifier", Does Not Exist
- react-native启动报错-Print: Entry, ":CFBundleIdentifier", Does Not Exist
- Print: Entry, ":CFBundleIdentifier", Does Not Exist
- react-native init DemoApp --version 0.44.3 解决 CFBundleIdentifier", Does Not Exist
- 解决CFBundleIdentifier", Does Not Exist
- RN编译错误之——Print: Entry, ":CFBundleIdentifier", Does Not Exist
- MIRO报错Table T169V: entry 1110 does not exist
- react-native run-android Starting: Intent Error type 3 Error: Activity class does not exist
- react-native run-ios报错
- 解决 'boost/iterator/iterator_adaptor.hpp' file not found’ 及控制台":CFBundleIdentifier", Does Not Exist
- 解决 'boost/iterator/iterator_adaptor.hpp' file not found’ 及控制台":CFBundleIdentifier", Does Not Exist
- 从零开始ReactNative,踩过的坑:CFBundleIdentifier", Does Not Exist
- react-native run-ios 报错 No bundle url present
- 解决react-native run-android报DeviceException Could not create ADB Bridge错误
- 解决:VM虚拟机中MAC系统react native项目再次执行react-native run-ios 报错,no bundle url present
- react-native ERROR EPERM: operation not permitted报错解决
- react-native run-android报错了
- 浅谈GDB调试在信息学竞赛中的应用
- RecyclerView中嵌套RecyclerView导致自动滚动
- Spring data Repository
- 野指针和空指针
- 不同领域公开数据集下载
- 解决react-native run-ios报错问题--Print: Entry, ":CFBundleIdentifier", Does Not Exist
- 获取IP和Mac工具类
- 关于网页的多选和反选
- 以json为body发送get请求
- JPA常用注解
- 【Codeforces 864 C. Bus】
- (4)loadrunner结果问题和解决方案
- 面试题目总结
- java线程池(二) Executors.newFixedThreadPool