react-native: RNTester doesnt compile. Asks for boost/iterator/iterator_adaptor.hpp
Description
Tried to run RNTester. The project doesnt compile for ios. It gives me a boost/iterator/iterator_adaptor.hpp file not found
on BitIteratorDetail.h
Reproduction Steps and Sample Code
Try to run RNTester
Solution
Where is boost? Is it the wrong version?
Additional Information
- React Native version: master@d40a7ea7f98211362f780fa15b105f3a71e0203b
- Platform: iOS
- Development Operating System: macOS
- Dev tools: Xcode
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 9
- Comments: 17 (6 by maintainers)
Temporary Solution
Download boost_1_63_0.tar.gz to
~/.rncache/
, replace if exist.I solved this by removing everything in ‘~/.rncache’ and run
npm i
andreact-native run-ios
again. Make sure all the tar balls in the.rncache
have their integrity.