Skip to content

Commit

Permalink
Update Yoga.podspec: fixes archiving for macos catalyst on react-nati…
Browse files Browse the repository at this point in the history
…ve 0.73.1 in xcode (facebook#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: facebook#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
  • Loading branch information
kesha-antonov authored and Othinn committed Jan 9, 2024
1 parent 48dfa00 commit 79a52ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-native/ReactCommon/yoga/Yoga.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ Pod::Spec.new do |spec|
spec.header_dir = 'yoga'
spec.requires_arc = false
spec.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES'
'DEFINES_MODULE' => 'YES',
'HEADER_SEARCH_PATHS' => ['$(inherited)', '${PODS_ROOT}/../../node_modules/react-native/ReactCommon/yoga']
}
spec.compiler_flags = [
'-fno-omit-frame-pointer',
Expand Down

0 comments on commit 79a52ae

Please sign in to comment.