Skip to content

Commit 425ecd1

Browse files
Merge pull request #683 from giautm/patch-1
chore: support for Swift
2 parents c2796cd + 18c2cdb commit 425ecd1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

react-native-branch.podspec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,9 @@ Pod::Spec.new do |s|
2424
s.header_dir = 'RNBranch' # also sets generated module name
2525
s.dependency 'Branch', '1.40.2'
2626
s.dependency 'React' # to ensure the correct build order
27+
28+
# Swift/Objective-C compatibility
29+
s.pod_target_xcconfig = {
30+
'DEFINES_MODULE' => 'YES'
31+
}
2732
end

0 commit comments

Comments
 (0)