We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed16fdb commit c6fa633Copy full SHA for c6fa633
ReactCommon/ReactCommon.podspec
@@ -61,7 +61,10 @@ Pod::Spec.new do |s|
61
ss.subspec "core" do |sss|
62
sss.source_files = "react/nativemodule/core/ReactCommon/**/*.{cpp,h}",
63
"react/nativemodule/core/platform/ios/**/*.{mm,cpp,h}"
64
- sss.exclude_files = "react/nativemodule/core/ReactCommon/{LongLivedObject,CallbackWrapper}.h"
+ excluded_files = ENV['USE_FRAMEWORKS'] == nil ?
65
+ "react/nativemodule/core/ReactCommon/LongLivedObject.h" :
66
+ "react/nativemodule/core/ReactCommon/{LongLivedObject,CallbackWrapper}.h"
67
+ sss.exclude_files = excluded_files
68
end
69
70
s.subspec "react_debug_core" do |sss|
0 commit comments