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

Let the script only check if the pod binary is available #217

Merged

Conversation

francescopersico
Copy link
Contributor

From my experience there is no need to check the platform. If the pod binary is available the dependencies will be sucessfully added and installed. I am on a Linux machine, my project uses rbenv and cocoapods, and all is working when i try to link the libraries.

@guperrot
Copy link
Member

Hi and thanks for your contribution.
My guess is that this check was to make the error meaningful mostly on Windows but I guess the error check that follows right is good enough. @dhei I let you merge if you are ok.

@guperrot guperrot requested a review from dhei January 15, 2018 00:06
@dhei
Copy link
Member

dhei commented Jan 15, 2018

@francescopersico Thanks for your PR.

This is an interesting scenario. The platform check is for leaving meaningful error message when running react-native link on Windows.

@dhei dhei merged commit 98579b4 into microsoft:develop Jan 15, 2018
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.

3 participants