Skip to content

Conversation

@Mohamed-kassim
Copy link

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