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

'boost/iterator/iterator_adaptor.hpp' file not found #14404

Closed
maquanhong opened this issue Jun 8, 2017 · 7 comments
Closed

'boost/iterator/iterator_adaptor.hpp' file not found #14404

maquanhong opened this issue Jun 8, 2017 · 7 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@maquanhong
Copy link

fatal error: 'boost/iterator/iterator_adaptor.hpp' file not found
#include <boost/iterator/iterator_adaptor.hpp>
^
1 error generated.

** BUILD FAILED **

The following build commands failed:
CompileC /Users/maquanhong/项目/RN/AwesomeProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/Bits.o /Users/maquanhong/项目/RN/AwesomeProject/node_modules/react-native/third-party/folly-2016.09.26.00/folly/Bits.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/AwesomeProject.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

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

How can I fix the error?

@hramos hramos closed this as completed Jun 8, 2017
@adjustit
Copy link

adjustit commented Jun 9, 2017

I got around this by manually downloading the Boost 1.63 package (https://sourceforge.net/projects/boost/files/boost/1.63.0/) and installing it into the third_party/ folder manually. It's not a great fix, but nonetheless, it at least works.

@srijak
Copy link

srijak commented Jun 9, 2017

I just ran into this after a fresh install of react-native.

Doesn't seem like it should be closed because the solution is very much a workaround.

There was already a node_modules/react-native/third-party/boost_1_63_0, and I downloaded+extracted+replaced it.

@hramos
Copy link
Contributor

hramos commented Jun 9, 2017

I closed the issue because there was no effort to fill out the issue template. Please open a new issue and make sure to fill it out.

@srijak
Copy link

srijak commented Jun 9, 2017

@hramos #14423 :)

@haseebyf
Copy link

downloaded and replaced boost_1_63_0.tar.gz in the .rncache folder. It seem to fix the problem for me.

@wzso
Copy link

wzso commented Jun 29, 2017

In my case the boost_1_63_0.tar.gz and double-conversion-1.1.5.tar.gz in the ~/.rncache directory went wrong for some reason, not in full solid size( which is 12.3M & 7M). After I copied them from my colleague, things go smooth. @maquanhong I think there has something to do with the special network status of cn.

@hramos
Copy link
Contributor

hramos commented Aug 4, 2017

Duplicate of #14423

@hramos hramos marked this as a duplicate of #14423 Aug 4, 2017
@facebook facebook locked and limited conversation to collaborators Aug 4, 2017
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

7 participants