Skip to content

Commit 2f98436

Browse files
authored
Merge pull request #43896 from facebook/cipolleschi/fix_yoga_archive_0.73
[Yoga][0.73] Fix archive for MacOS Catalyst
2 parents 529bcc0 + a8a2f1a commit 2f98436

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/react-native/ReactCommon/yoga/Yoga.podspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ Pod::Spec.new do |spec|
3232
spec.requires_arc = false
3333
spec.pod_target_xcconfig = {
3434
'DEFINES_MODULE' => 'YES'
35-
}
35+
}.merge!(ENV['USE_FRAMEWORKS'] != nil ? {
36+
'HEADER_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)"'
37+
} : {})
38+
3639
spec.compiler_flags = [
3740
'-fno-omit-frame-pointer',
3841
'-fexceptions',

0 commit comments

Comments
 (0)