boost-for-react-native
boost-for-react-native copied to clipboard
IOS build fails: <include> files cannot be found
Bug report
Summary
When building the project, it fails with various "file not found" messages for files inside fatal error: 'boost/config/warning_disable.hpp' file not found #include <boost/config/warning_disable.hpp>
Environment info
react-native info
output:
System:
OS: macOS 10.15.4
CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
Memory: 536.50 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.12.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
IDEs:
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.0 => 0.61.0
npmGlobalPackages:
babel-preset-react-native: 5.0.0
jest-react-native: 18.0.0
react-native-animatable: 1.3.2
react-native-carrier-info: 1.1.1
react-native-cli: 2.0.1
react-native: 0.59.10
[...]
Library version: 1.63.0
Steps to reproduce
- npm i
- cd ios && pod install
- react-native run-ios
The build will fail. I saw all the Stackoverflow posts regarding the issue, e.g. this one - nothing helps.
Seems as the lib misses a path of some kind.
Will greatly appreciate any help or idea.
I had similar issue, Xcode couldn't find the config.hpp. As understand it is issue with your system/cocoapods, files of boost-for-react-native is not completely downloaded. As temporary solution you can download missing files directly from the repo and paste them to your project.