bazel-xcode / bazel-xcode/PodToBUILD

Error on broken cocoapods installation

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
330
Forks
68
PR merge metrics
No merged PRs in 30d

Description

We currently check if there is some program called `pod` on the user machine and error out if there is not.

If a cocoapods installation is corrupted, we fail at `PodSpec` conversion time producing an error message that would lead the user to believe the podspec is invalid. ```_exec failed 4 fatal error: Invalid JSON Podspec:```

Simply check `pod --version` or similar to get a better sense of if the program is correctly installed, and print a nice error if it isn't.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.