question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RN 0.66] iOS build failure: 'boost/operators.hpp' file not found

See original GitHub issue

Description

After updating to React Native 0.66.0-rc.4, building with Xcode 13.0 results in build error with message: /Users/loshan/Repos/plasma/ios/Pods/Headers/Public/RCT-Folly/folly/dynamic.h:63:10: 'boost/operators.hpp' file not found. Uninstalling react-native-reanimated makes the error goes away, so I believe that the issue is specifically with this library.

Expected behavior

For build to succeed without erroring.

Actual behavior & steps to reproduce

Use expo to create repo with react-native version 0.66.0-rc.4. Add react-native-reanimated

Package versions

  • React Native: 0.66.0-rc.4
  • React Native Reanimated: 2.3.0-beta.1
  • NodeJS: 14.17.5
  • Xcode: 13.0

Affected platforms

  • iOS

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:23
  • Comments:15

github_iconTop GitHub Comments

16reactions
kesha-antonovcommented, Oct 5, 2021

Try "react-native-reanimated": "2.3.0-beta.2" It has fix for search paths

7reactions
georgetkcommented, Oct 9, 2021

Try "react-native-reanimated": "2.3.0-beta.2" It has fix for search paths

This fix works fine on iOS. But in Android it’s breaking. Screenshot_1633778988

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix 'boost/operators.hpp' file not found ... - Stack Overflow
I'm working on an integrated RN app inside of a Native iOS app, so I was manually adding the pods to the Podfile...
Read more >
How to fix 'boost/operators.hpp' file not found' error in react ...
Coding example for the question How to fix 'boost/operators.hpp' file not found' error in react-native-React Native.
Read more >
boost/operators.hpp - 1.67.0
Added classes to connect equality and // relational operators. ... If the compiler has no NRVO, this is the best symmetric // implementation...
Read more >
Math Toolkit - Scientific computing wiki
Root Finding Without Derivatives: Bisection, Bracket and TOMS748 . ... <boost/math/tr1.hpp> has its own source file with the same name in libs/math/src/tr1.
Read more >
iOS : xcode 'boost/config/user.hpp' file not found - YouTube
iOS : xcode ' boost /config/user. hpp ' file not found [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS : xcode ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found