Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #import #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

samsonong
Copy link

@samsonong samsonong commented Jan 16, 2025

Huge thanks to @dkahdwk for the solution in the related conversation (I'm just doing the paperwork to get the solution committed 😆)

Changes

React-Codegen >> ReactCodegen

Related conversations/threads

Proof of work

Using patch-package to proof that the patch enables successful iOS build.

Video: https://drive.google.com/file/d/1TwfxtvPm1mMUNs07Zl2mVs5zaoxv8mSm/view?usp=sharing

p/s - the patch-package

Thanks @jksjaz for the reminder to share the patch file 🥳

# ./patches/react-native-exit-app+2.0.0.patch

diff --git a/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h b/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h
index 50a2135..4a598a3 100644
--- a/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h
+++ b/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h
@@ -7,7 +7,7 @@
 #endif
 
 #if RCT_NEW_ARCH_ENABLED
-#import <React-Codegen/RNExitAppSpec/RNExitAppSpec.h>
+#import <ReactCodegen/RNExitAppSpec/RNExitAppSpec.h>
 #endif
 
 @interface RNExitApp : NSObject <RCTBridgeModule>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant