词法或处理器问题:找不到 boost/config/user.hpp' 文件 [英] Lexical or processor issue: boost/config/user.hpp' file not found

查看:106
本文介绍了词法或处理器问题:找不到 boost/config/user.hpp' 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Xcode 中运行我的 React Native 应用程序时,它显示错误 "boost/config/user.hpp' file not found" .而且当我使用命令react-native run-ios"运行应用程序时,我在终端中出现错误,

命令失败:/usr/libexec/PlistBuddy -c 打印:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/sample2.app/Info.plist"打印:条目,:CFBundleIdentifier",不存在 " .

我该如何解决这个问题.我是 React Native 应用程序开发方面的佼佼者.

解决方案

与这个boost包有关:./node_modules/react-native/third-party/boost_1_63_0/boost/config>

  • 从路径中删除 third-party 文件夹:/node_modules/react-native/third-party/

  • 重新运行 Xcode 项目.

When i run my react native app in Xcode, it shows an error "boost/config/user.hpp' file not found" . And also when i run the application using the command "react-native run-ios" ,I got an error in terminal ,

"Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/sample2.app/Info.plist" Print: Entry, ":CFBundleIdentifier", Does Not Exist " .

How can i solve this. I am a bigginer in react native app development.

解决方案

It's related to this boost package: ./node_modules/react-native/third-party/boost_1_63_0/boost/config

  • Remove third-party folder from path: /node_modules/react-native/third-party/

  • Re-run the Xcode project.

这篇关于词法或处理器问题:找不到 boost/config/user.hpp' 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆