-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Link both iOS and tvOS libraries with react-native link (fix #13783) #17231
Conversation
@grabbou please review this when you get a chance. |
@facebook-github-bot label Needs more information Attention: @shergin Generated by 🚫 dangerJS |
local-cli/link/ios/getTargets.js
Outdated
* Given xcodeproj it returns list of targets | ||
*/ | ||
module.exports = function getTargets(project) { | ||
let targets = project.getFirstProject()['firstProject']['targets']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dot-notation: ["firstProject"] is better written in dot notation.
local-cli/link/ios/getTargets.js
Outdated
* Given xcodeproj it returns list of targets | ||
*/ | ||
module.exports = function getTargets(project) { | ||
let targets = project.getFirstProject()['firstProject']['targets']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dot-notation: ["targets"] is better written in dot notation.
@facebook-github-bot label Needs more information Attention: @shergin Generated by 🚫 dangerJS |
@grabbou could you please review this ASAP? |
Have this on my TODO list after Christmas. I am back today to work, will be
taking care of this this week.
…On Sun, 31 Dec 2017 at 08:08 Douglas Lowder ***@***.***> wrote:
@grabbou <https://github.com/grabbou> could you please review this ASAP?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17231 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACWcxklrPou4-D-_AU3j38C5gkpBNSLYks5tFzLqgaJpZM4RED26>
.
|
@grabbou : @matthargett says this looks good, but is asking for automated testing of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
If this does not land shortly, please try re-basing. Due to a recent change to the internal repo, some PRs older than a week (as of today) may need to be rebased in order to land cleanly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase and we can try re-importing again.
@hramos I just merged from facebook/master, hopefully it can be landed now... Thanks!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
…#13783) Summary: Fix issues with the react-native CLI when linking iOS and tvOS libraries to a project created with `react-native init`. (facebook#13783) Verified the changes against test project at https://github.com/dlowder-salesforce/react-native-link-test. Both `react-native link react-native-svg` and `react-native unlink react-native-svg` work correctly on this project. Added new unit test for the new file added to `local-cli/link/ios`. [CLI] [BUGFIX] `react-native link` has been fixed to correctly link iOS and tvOS targets. [IOS] [BUGFIX] `react-native link` has been fixed to correctly link iOS and tvOS targets. Closes facebook#17231 Differential Revision: D6837567 Pulled By: hramos fbshipit-source-id: 234d3d3966ae1b89cd16a37c95d303553f7ba5f5
Summary: Fix issues with the react-native CLI when linking iOS and tvOS libraries to a project created with `react-native init`. (#13783) Verified the changes against test project at https://github.com/dlowder-salesforce/react-native-link-test. Both `react-native link react-native-svg` and `react-native unlink react-native-svg` work correctly on this project. Added new unit test for the new file added to `local-cli/link/ios`. [CLI] [BUGFIX] `react-native link` has been fixed to correctly link iOS and tvOS targets. [IOS] [BUGFIX] `react-native link` has been fixed to correctly link iOS and tvOS targets. Closes facebook/react-native#17231 Differential Revision: D6837567 Pulled By: hramos fbshipit-source-id: 234d3d3966ae1b89cd16a37c95d303553f7ba5f5
Summary: Fix issues with the react-native CLI when linking iOS and tvOS libraries to a project created with `react-native init`. (#13783) Verified the changes against test project at https://github.com/dlowder-salesforce/react-native-link-test. Both `react-native link react-native-svg` and `react-native unlink react-native-svg` work correctly on this project. Added new unit test for the new file added to `local-cli/link/ios`. [CLI] [BUGFIX] `react-native link` has been fixed to correctly link iOS and tvOS targets. [IOS] [BUGFIX] `react-native link` has been fixed to correctly link iOS and tvOS targets. Closes facebook/react-native#17231 Differential Revision: D6837567 Pulled By: hramos fbshipit-source-id: 234d3d3966ae1b89cd16a37c95d303553f7ba5f5
Motivation
Fix issues with the react-native CLI when linking iOS and tvOS libraries to a project created with
react-native init
. (#13783)Test Plan
Verified the changes against test project at https://github.com/dlowder-salesforce/react-native-link-test. Both
react-native link react-native-svg
andreact-native unlink react-native-svg
work correctly on this project. Added new unit test for the new file added tolocal-cli/link/ios
.Release Notes
[CLI] [BUGFIX]
react-native link
has been fixed to correctly link iOS and tvOS targets.[IOS] [BUGFIX]
react-native link
has been fixed to correctly link iOS and tvOS targets.