bazel-xcode / bazel-xcode/PodToBUILD

new_pod_repository with tags fails

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

Description

Hi,
I am trying to use the `new_pod_repository` with the tag in the pods URL as below

```
new_pod_repository(
name = "SDWebImage",
url = "https://github.com/SDWebImage/SDWebImage/archive/refs/tags/5.12.3.zip",
generate_header_map = 1
)

```
it's failing with the error as below.

```
Updating Pod SDWebImage...
_exec failed 4 RepoToolsCore/RepoActions.swift:257: Fatal error: Missing podspec ( ./SDWebImage.podspec ) inside /MY_PROJECT_PATH/Vendor/SDWebImage
```

Also it creates the additional folder with the tag name (Vendor/SDWebImage/SDWebImage-5.12.3).
I thought may be it's failing because of it and tried putting `podspec_url` but it's still failing.

Where as, if I use it without the tag as below

```
new_pod_repository(
name = "SDWebImage",
url = "https://github.com/SDWebImage/SDWebImage/archive/5.12.3.zip",
generate_header_map = 1
)

```
Is working as expected.

Is this behaviour is as expected ?

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.