Skip to content

Commit 25132c8

Browse files
Riccardo Cipolleschifacebook-github-bot
authored andcommitted
Fix: Avoid path in the template import (#35394)
Summary: Investigating [this comment](reactwg/react-native-releases#41 (comment)), I made some tests. It seems like we can simply use `#import <RCTAppDelegate.h>` instead of the `#import <React-RCTAppDelegate/RCTAppDelegate.h>` in both setups: - default setup - `use_frameworks! :linkage => :static` ## Changelog [iOS] [Fixed] - Support `use_framework! :linkage => :static` in template Pull Request resolved: #35394 Test Plan: 1. Manually tested with a new app 2. CircleCI 3. Sandcastle Reviewed By: cortinico Differential Revision: D41402060 Pulled By: cipolleschi fbshipit-source-id: e1ed8196ed860b3663a88f5283f2745e39b0e944
1 parent 27e7295 commit 25132c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

template/ios/HelloWorld/AppDelegate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import <React-RCTAppDelegate/RCTAppDelegate.h>
1+
#import <RCTAppDelegate.h>
22
#import <UIKit/UIKit.h>
33

44
@interface AppDelegate : RCTAppDelegate

0 commit comments

Comments
 (0)