Skip to content

Commit c8fcac2

Browse files
krozniatareact-native-bot
authored andcommitted
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: #51160 Test Plan: RNTester runs and builds correctly Reviewed By: huntie Differential Revision: D74325357 Pulled By: cipolleschi fbshipit-source-id: b994b7e678633440d5e362ae6965b2d5188d34f1
1 parent 8d42fc4 commit c8fcac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactCommon/jsc/React-jsc.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ Pod::Spec.new do |s|
3232
s.dependency "React-jsi", version
3333

3434
s.subspec "Fabric" do |ss|
35-
ss.pod_target_xcconfig = { "OTHER_CFLAGS" => "$(inherited)" }
35+
ss.pod_target_xcconfig = { "OTHER_CFLAGS" => "$(inherited)", "DEFINES_MODULE" => "YES" }
3636
end
3737
end

0 commit comments

Comments
 (0)