Skip to content

fix: add Folly configuration for RN 0.77-0.79 with static frameworks#59

Merged
l2hyunwoo merged 1 commit intol2hyunwoo:mainfrom
Mohamed-kassim:fix/folly-static-frameworks
Dec 28, 2025
Merged

fix: add Folly configuration for RN 0.77-0.79 with static frameworks#59
l2hyunwoo merged 1 commit intol2hyunwoo:mainfrom
Mohamed-kassim:fix/folly-static-frameworks

Conversation

@Mohamed-kassim
Copy link
Copy Markdown
Contributor

Summary

This fixes build failures when using use_frameworks! :linkage => :static (often required for Firebase integration) on React Native 0.77-0.79.

The build error encountered:

'folly/dynamic.h' file not found

Changes

Adds pod_target_xcconfig with:

  • Header search paths for RCT-Folly
  • Preprocessor definitions for FOLLY_NO_CONFIG and FOLLY_CFG_NO_COROUTINES
  • C++ compiler flags for Folly mobile configuration

Reference

This fixes build failures when using `use_frameworks! :linkage => :static`
(often required for Firebase integration) on React Native 0.77-0.79.

The fix adds pod_target_xcconfig with:
- Header search paths for RCT-Folly
- Preprocessor definitions for FOLLY_NO_CONFIG and FOLLY_CFG_NO_COROUTINES
- C++ compiler flags for Folly mobile configuration

Reference: mrousavy/nitro#825
Copy link
Copy Markdown
Owner

@l2hyunwoo l2hyunwoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contributions 👍🏻

@l2hyunwoo l2hyunwoo merged commit 741ffee into l2hyunwoo:main Dec 28, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants