facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.36k stars 952 forks source link

Xcode 16 not building - std::is_trivial<folly::detail::AccessSpreaderBase::GlobalState>::value || kCpplibVer': not trivial #5683

Open QSuraj opened 6 days ago

QSuraj commented 6 days ago

🐛 Bug Report

Getting following error -

ios/Pods/Headers/Public/Flipper-Folly/folly/concurrency/CacheLocality.h:209:7: error: static assertion failed due to requirement 'std::is_trivial<folly::detail::AccessSpreaderBase::GlobalState>::value || kCpplibVer': not trivial
  209 |       std::is_trivial<GlobalState>::value || kCpplibVer, "not trivial");

Screenshots

Screenshot 2024-11-11 at 11 40 51 AM Screenshot 2024-11-11 at 11 40 37 AM

To Reproduce

Update to macOS Sequoia try to build a debug build.

Environment

Flipper version -> 0.163.0 React Native -> 0.69.12

joaovitorleffa commented 5 days ago

@QSuraj same here.

Captura de Tela 2024-11-01 às 10 58 55

QSuraj commented 5 days ago

I ended up removing react-native-flipper library. That fixed the issue for me on my version of react native, as 0.69 gets flipper by default.