Skip to content

Commit 614e602

Browse files
nickfujitafacebook-github-bot
authored andcommitted
Fix RCTAlertController import when embed in existing iOS projects (#32457)
Summary: Fixes a build error relating to RCTAlertController import when embedding react-native into existing iOS app. This PR resolves the issue detailed in #32356 ## Changelog Adjusts the import syntax which was added in: f319ff3#diff-56beca6ee071cdd162c269ce765ab12d5af8c8c0ca840bca1e9d1f59e9fab790 Existing: #import "RCTAlertController.h" New: #import <React/RCTAlertController.h> [iOS] [Fix] - Fix RCTAlertController import build error when embedded in existing iOS projects Pull Request resolved: #32457 Test Plan: Build this branch in existing iOS project using swift, and should not have the build error described in the issue above. Would also like to have this fix cherry-pick'd to release 0.63 after merging. Reviewed By: RSNara Differential Revision: D31861814 Pulled By: charlesbdudley fbshipit-source-id: e60f80c8ea982e400cbf6d9375037d4197bbb8a3
1 parent 751708d commit 614e602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

React/CoreModules/RCTAlertController.m

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

88
#import <React/RCTUtils.h>
99

10-
#import "RCTAlertController.h"
10+
#import <React/RCTAlertController.h>
1111

1212
@interface RCTAlertController ()
1313

0 commit comments

Comments
 (0)