mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fix(iOS): enable DEFINES_MODULE in React-jsc (#51160)
Summary: Enables `DEFINES_MODULE` in `React-jsc.podspec` After upgrading app to RN `0.79`, when installing pods with JSC enabled there is an error being thrown that `The following Swift pods cannot yet be integrated as static libraries` `The Swift pod 'RNFlashList' depends upon 'React-jsc', which does not define modules. ...` when installing packages that use Swift ## Changelog: [IOS] [CHANGED] - enable `DEFINES_MODULE` in `React-jsc.podspec` Pull Request resolved: https://github.com/facebook/react-native/pull/51160 Test Plan: RNTester runs and builds correctly Reviewed By: huntie Differential Revision: D74325357 Pulled By: cipolleschi fbshipit-source-id: b994b7e678633440d5e362ae6965b2d5188d34f1
This commit is contained in:
committed by
React Native Bot
parent
8d42fc40bc
commit
c8fcac2765
@@ -32,6 +32,6 @@ Pod::Spec.new do |s|
|
||||
s.dependency "React-jsi", version
|
||||
|
||||
s.subspec "Fabric" do |ss|
|
||||
ss.pod_target_xcconfig = { "OTHER_CFLAGS" => "$(inherited)" }
|
||||
ss.pod_target_xcconfig = { "OTHER_CFLAGS" => "$(inherited)", "DEFINES_MODULE" => "YES" }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user