Skip to content

Check cocoapods availability before executing pod install #1104

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

Merged
merged 1 commit into from
Oct 28, 2015

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Oct 26, 2015

No description provided.

@ns-bot
Copy link

ns-bot commented Oct 26, 2015

Test FAILed.

@vchimev
Copy link

vchimev commented Oct 26, 2015

👍

@Fatme Fatme force-pushed the fatme/pod-availability branch from 5f64acd to 0c22afb Compare October 26, 2015 11:53
@ns-bot
Copy link

ns-bot commented Oct 26, 2015

Test PASSed.

// Check availability
try {
this.$childProcess.exec("gem which cocoapods").wait();
this.$childProcess.exec("gem which xcodeproj").wait();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to check for xcodeproj? It is a dependency of cocoapods.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this in order to ensure that this script will be executed correctly - https://github.com/NativeScript/nativescript-cli/blob/master/lib/services/ios-project-service.ts#L441

Fatme pushed a commit that referenced this pull request Oct 28, 2015
Check cocoapods availability before executing pod install
@Fatme Fatme merged commit d5d3c99 into master Oct 28, 2015
@Fatme Fatme deleted the fatme/pod-availability branch October 28, 2015 09:04
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.

4 participants