[RN 0.66] 'boost/preprocessor/control/expr_iif.hpp' file not found

See original GitHub issue

Description

brand new RN 0.66.rc.3 project, build failed on iOS

Expected behavior

RN 0.66.rc.3 build success on iOS

Package versions

System:
    OS: macOS 11.5.2
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 32.48 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.19.0 - /usr/local/bin/node
    Yarn: 1.22.5 - ~/.yarn/bin/yarn
    npm: 7.22.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 21, 23, 25, 26, 27, 28, 29, 30
      Build Tools: 23.0.1, 26.0.1, 26.0.2, 27.0.3, 28.0.3, 29.0.2
      System Images: android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7678000
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_212 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.66.0-rc.3 => 0.66.0-rc.3
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
  • React Native: 0.66.0-rc.3
  • React Native Reanimated: 2.2.2

Affected platforms

  • Android
  • iOS
  • Web

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
tapzcommented, Oct 6, 2021

I tried to build with the RN 0.66.0 release version.

With reanimated 2.2.2 I get this error:

'boost/operators.hpp' file not found

and with 2.3.0-beta.2 this:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_RNSScreenView", referenced from:
      objc-class-ref in REAUIManager.o
ld: symbol(s) not found for architecture arm64
2reactions
numandev1commented, Sep 30, 2021

@KingAmo now you can install 2.3.0-beta.2 version which have support for react native 0.66 https://github.com/software-mansion/react-native-reanimated/releases/tag/2.3.0-beta.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

fatal error: 'boost/preprocessor/control/expr_iif.hpp' file not found
I just had this issue and it happens when you have incompatible versions of Flipper pods. This worked for me: Update your Podfile...
Read more >
Troubleshooting | React Navigation
This section attempts to outline issues that users frequently encounter when first getting accustomed to using React Navigation. These issues may or may...
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