Skip to content

Commit aa2d613

Browse files
kesha-antonovfacebook-github-bot
authored andcommitted
Update Yoga.podspec: fixes archiving for macos catalyst on react-native 0.73.1 in xcode (#42159)
Summary: Hi When I tried to archive macos catalyst app in Xcode I got error: <img width="994" alt="Screenshot 2024-01-06 at 18 02 07" src="https://github.com/facebook/react-native/assets/11584712/5b334c79-c795-4c29-a6b5-65a024926cb7"> <img width="910" alt="Screenshot 2024-01-06 at 18 02 40" src="https://github.com/facebook/react-native/assets/11584712/dba51fc7-8b1e-4a00-b507-ea773c5b5fdf"> This PR fixes archiving ## Changelog: [IOS] [FIXED] - fixed archiving for macos catalyst on react-native 0.73.1 in xcode Pull Request resolved: #42159 Test Plan: Try archive react-native tester app for macos catalyst in Xcode Reviewed By: christophpurrer Differential Revision: D52624342 Pulled By: arushikesarwani94 fbshipit-source-id: 21b9b3568986f63f169f11cedc6cea2237d3e2c5
1 parent 40b0d18 commit aa2d613

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ Pod::Spec.new do |spec|
3131
spec.header_dir = 'yoga'
3232
spec.requires_arc = false
3333
spec.pod_target_xcconfig = {
34-
'DEFINES_MODULE' => 'YES'
34+
'DEFINES_MODULE' => 'YES',
35+
'HEADER_SEARCH_PATHS' => ['$(inherited)', '${PODS_ROOT}/../../node_modules/react-native/ReactCommon/yoga']
3536
}
3637
spec.compiler_flags = [
3738
'-fno-omit-frame-pointer',

0 commit comments

Comments
 (0)