Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCT-Folly Compilation Error on React Native iOS build #41851

Closed
CarlosDanielDev opened this issue Oct 5, 2023 · 4 comments
Closed

RCT-Folly Compilation Error on React Native iOS build #41851

CarlosDanielDev opened this issue Oct 5, 2023 · 4 comments
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue.

Comments

@CarlosDanielDev
Copy link

Description

During the build process for a React Native iOS app, compilation fails with an error related to RCT-Folly. The error occurs while trying to compile SingletonStackTrace.cpp for the arm64 architecture.

Error Message

 CompileC 
 /Users/carlos/Library/Developer/Xcode/DerivedData/PRIME- dttqnetmhqaunccmohnxbaljbbkx/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects- normal/arm64/SingletonStackTrace.o 
 /Users/carlos/puravida/prime/prime-frontend-mobile/ios/Pods/RCT- Folly/folly/detail/SingletonStackTrace.cpp 
 normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly'  from project 'Pods')
 (1 failure)

Steps to Reproduce

  • Navigate to the ios directory in the project.
  • Run pod install.
  • Build the iOS project.

Expected Behavior

  • The iOS build should complete without errors.

Actual Behavior

  • The build process fails, throwing an error related to the compilation of RCT-Folly.

Troubleshooting Steps Taken

  • Cleared Xcode and build caches.
  • Reinstalled Pods.
  • Cleaned the Xcode build.
  • Checked for updates for dependencies and Xcode.

System Information

  • macOS version: Sonoma 14.0
  • Xcode version: 15.0
  • React Native version: 0.70.6
  • RCT-Folly version: 2021.07.22.00
@ericTrayt
Copy link

Any insights into this? @CarlosDanielDev Any luck?

@komalparulekar
Copy link

have you found any solution ? I'm facing the exact same issue.

@huntie huntie transferred this issue from facebook/metro Dec 8, 2023
@github-actions github-actions bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Dec 8, 2023
Copy link

github-actions bot commented Dec 8, 2023

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@cortinico
Copy link
Contributor

Closing as stale. If you're having the same problem please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue.
Projects
None yet
Development

No branches or pull requests

4 participants