Skip to content

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

Closed
Mohamed-kassim wants to merge 1 commit into
tconns:mainfrom
Mohamed-kassim:fix/folly-static-frameworks
Closed

fix: add Folly configuration for RN 0.77-0.79 with static frameworks#1
Mohamed-kassim wants to merge 1 commit into
tconns:mainfrom
Mohamed-kassim:fix/folly-static-frameworks

Conversation

@Mohamed-kassim

Copy link
Copy Markdown

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 errors encountered:

'folly/folly-config.h' file not found
Could not build module 'NitroModules'
Could not build module 'jsi'

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

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

The build errors encountered:
- 'folly/folly-config.h' file not found
- Could not build module 'NitroModules'
- Could not build module 'jsi'

This 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
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