Skip to content

Commit 6dc96ec

Browse files
Fix RCT_NEW_ARCH_ENABLED for rn-macOS (#1779)
In rn-macOS 0.71 we have https://github.com/microsoft/react-native-macos/tree/main/Libraries/AppDelegate which pass the necessary RCT_NEW_ARCH_ENABLED flag to it's .h and .mm files https://github.com/microsoft/react-native-macos/blob/main/Libraries/AppDelegate/React-RCTAppDelegate.podspec#L24 We also have: https://github.com/microsoft/react-native-macos/tree/main/React/AppSetup which DO NOT pass RCT_NEW_ARCH_ENABLED flag because it gets inherited from: https://github.com/microsoft/react-native-macos/blob/main/React-Core.podspec Instead of fixing the latter .podspec we just carry over a more recent rn 0.72 change > moving all files into the same folder / podspec https://github.com/facebook/react-native/tree/main/packages/react-native/Libraries/AppDelegate
1 parent 84d9571 commit 6dc96ec

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

Libraries/AppDelegate/RCTAppDelegate.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
#import "RCTAppDelegate.h"
9-
#import <React/RCTAppSetupUtils.h>
9+
#import "RCTAppSetupUtils.h"
1010
#import <React/RCTRootView.h>
1111

1212
#if RCT_NEW_ARCH_ENABLED
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)