react-native icon indicating copy to clipboard operation
react-native copied to clipboard

when upgrading to react native version 0.76.1 ios/Pods/RCT-Folly/folly/functional/Invoke.h:22:10: 'boost/preprocessor/control/expr_iif.hpp' file not found 22 | #include <boost/preprocessor/control/expr_iif.hpp>. when run react-native run-ios

Open TahaAlTamimi opened this issue 1 year ago • 7 comments

Description

when upgrading to react native version 0.76.1 The build doesn't work, it seems there are missing files in some Pod dependencies.

Steps to reproduce

upgrading react native from 0.72.4 to 0.76.1 and using same steps in https://react-native-community.github.io/upgrade-helper/?from=0.72.4&to=0.76.1

React Native Version

0.76.1

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
  OS: macOS 15.1
  CPU: (11) arm64 Apple M3 Pro
  Memory: 121.94 MB / 18.00 GB
  Shell:
    version: 3.2.57
    path: /bin/bash
Binaries:
  Node:
    version: 18.20.4
    path: ~/.nvm/versions/node/v18.20.4/bin/node
  Yarn:
    version: 1.22.22
    path: /usr/local/bin/yarn
  npm:
    version: 10.7.0
    path: ~/.nvm/versions/node/v18.20.4/bin/npm
  Watchman:
    version: 2024.11.11.00
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/tamimiejada/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.0
      - iOS 18.0
      - macOS 15.0
      - tvOS 18.0
      - visionOS 2.0
      - watchOS 11.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2021.3 AI-213.7172.25.2113.9123335
  Xcode:
    version: 16.0/16A242d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.13
    path: /Users/tamimiejada/.jenv/shims/javac
  Ruby:
    version: 3.1.2
    path: /Users/tamimiejada/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Stacktrace or Logs

[React-perflogger] Compiling FuseboxTracer.cpp
❌ path-to-my-project/ios/Pods/RCT-Folly/folly/functional/Invoke.h:22:10: 'boost/preprocessor/control/expr_iif.hpp' file not found
   22 | #include <boost/preprocessor/control/expr_iif.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


error Failed to build ios project. "xcodebuild" exited with error code '65'. To debug build logs further, consider building your app with Xcode.app, by opening 'myProject.xcworkspace'.

Reproducer

https://github.com/facebook/react-native

Screenshots and Videos

No response

TahaAlTamimi avatar Nov 18 '24 09:11 TahaAlTamimi

[!TIP] Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - 0.76.2. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

react-native-bot avatar Nov 18 '24 09:11 react-native-bot

[!TIP] Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

react-native-bot avatar Nov 18 '24 09:11 react-native-bot

[!WARNING] Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:

react-native-bot avatar Nov 18 '24 09:11 react-native-bot

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

react-native-bot avatar Dec 13 '24 05:12 react-native-bot

the issue is still

TahaAlTamimi avatar Dec 16 '24 10:12 TahaAlTamimi

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

react-native-bot avatar Jun 15 '25 05:06 react-native-bot

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

react-native-bot avatar Dec 17 '25 05:12 react-native-bot

This issue was closed because it has been stalled for 7 days with no activity.

react-native-bot avatar Dec 24 '25 05:12 react-native-bot