Skip to content

Commit 5560a47

Browse files
Salakarfacebook-github-bot
authored andcommitted
Add folly_compiler_flags to Core subspec (#23488)
Summary: This fixes the following iOS build error when using React via pods (using the new Xcode build system); > project/Pods/Folly/folly/portability/Config.h:20:10: 'folly/folly-config.h' file not found react-native-community/releases#79 (comment) react-native-community/releases#79 (comment) react-native-community/releases#79 (comment) [iOS] [Fixed] - Fixed a "'folly/folly-config.h' file not found" build error when using React via CocoaPods Pull Request resolved: #23488 Differential Revision: D14121296 Pulled By: cpojer fbshipit-source-id: 5eb2ba3066aef2bc9cfb95a9172cbef921c47170
1 parent a6fde5d commit 5560a47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

React.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Pod::Spec.new do |s|
6666
"React/Views/RCTSlider*",
6767
"React/Views/RCTSwitch*",
6868
"React/Views/RCTWebView*"
69+
ss.compiler_flags = folly_compiler_flags
6970
ss.header_dir = "React"
7071
ss.framework = "JavaScriptCore"
7172
ss.libraries = "stdc++"

0 commit comments

Comments
 (0)