What happened?

Error:
The following build commands failed:
        CompileC /Path/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/i386/F14Table.o /Path/ios/Pods/RCT-Folly/folly/container/detail/F14Table.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
(1 failure)

Pre-Condition:

  1. Follow the setup detox latest version
  2. detox build --configuration iOS file.ts

Environment (please complete the following information): Detox: ^19.6.5 React Native: 0.67.4 Node:v16.16.0 Device: Iphone 13 simulator Xcode: 13.4.1 (13F100) iOS: 15.0 macOS: Monterey jest: 28.1.2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
tokkozhincommented, Aug 5, 2022

I have the same error but with the RN v0.69.1 and with the next environment: react-native info

System:
    OS: macOS 12.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 36.56 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.3 - /Users/macbookpro/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.1 AI-211.7628.21.2111.8193401
    Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.15 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: 6.2.0 => 6.2.0 
    react: 18.0.0 => 18.0.0 
    react-native: 0.69.1 => 0.69.1 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Error when I build ios release mode is:

/ios/Pods/RCT-Folly/folly/container/detail/F14Table.cpp:41:10: error: 
      thread-local storage is not supported for the current target
  static thread_local std::atomic<size_t> value_tl{0};

and when debug mode error is:

The following build commands failed:
        CompileC ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/i386/F14Table.o ios/Pods/RCT-Folly/folly/container/detail/F14Table.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
(1 failure)
0reactions
glenndonAicommented, Aug 5, 2022

@d4vidi Please can you help us cc: @tokkozhin

Read more comments on GitHub >

github_iconTop Results From Across the Web

in target 'RCT-Folly' from project 'Pods' 1 failure - failed to build ...
When I would run npm run ios (npx react-native run-ios), there would be a build fail. The debug would say error, "we ran...
Read more >
RCT-Folly-Build-Detox-React-Native - ios - Stack Overflow
Device: Iphone 13 simulator. Xcode: 13.4.1 (13F100). iOS: 15.0. macOS: Monterey. jest: 28.1.2.
Read more >
iOS build failed (Firebase native SDK) - Expo forums
IOS development build fails on EAS after integrating Firebase native SDK using this doc and this. Build & Integration works perfectly on ...
Read more >
macOS react-native ios build error (in target 'RCT-Folly' from ...
... /HelloSteve-hghgfcwemhoaiacfwlophutqqzbh/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/SysUio.o ...
Read more >
React Native iOS Build Failed on M1 Mac Issue Fix
... -fibcdwjnnbuzscfcdsmwicwbvdat/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/SysUio.o ...
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