-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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: Avoid path in the template import #35394
Conversation
Base commit: 27e7295 |
Base commit: 81e441a |
You somehow managed to break the entire android build with this (I'm joking, of course it didn't, but that is ironic is it not?) |
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
/rebase |
b7c47e5
to
9e86c90
Compare
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
/rebase |
9e86c90
to
9f06679
Compare
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
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
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: facebook#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
Summary
Investigating this 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:use_frameworks! :linkage => :static
Changelog
[iOS] [Fixed] - Support
use_framework! :linkage => :static
in templateTest Plan