Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS build fails: <include> files cannot be found #12

Open
Orijinn-github opened this issue Jun 22, 2020 · 1 comment
Open

IOS build fails: <include> files cannot be found #12

Orijinn-github opened this issue Jun 22, 2020 · 1 comment

Comments

@Orijinn-github
Copy link

Bug report

Summary

When building the project, it fails with various "file not found" messages for files inside
For example,
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

  1. npm i
  2. cd ios && pod install
  3. 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.

@andrey-shostik
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants