jfrog / cocoapods-art

CocoaPods Plugin to work against Artifactory Repository
Apache License 2.0
58 stars 28 forks source link

cocoapods-art not able to add Private Github Repo #30

Closed seanliu1 closed 5 years ago

seanliu1 commented 5 years ago
pod repo-art add RemoteTest2 "http://localhost:8081/artifactory/api/pods/RemoteTest2"
Retrieving index from `http://localhost:8081/artifactory/api/pods/RemoteTest2` into local spec repo `RemoteTest2`
[!] Error getting the index from Artifactory at: 'http://localhost:8081/artifactory/api/pods/RemoteTest2' : [!] /usr/bin/curl -f -L -o /Users/seanliu/.cocoapods/repos-art/RemoteTest2/Specs/file.tgz http://localhost:8081/artifactory/api/pods/RemoteTest2/index/fetchIndex --create-dirs --netrc-optional

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found

My Remote Cocoapods Repository uses private github repo. If I change remote cocoapods repository to github.com and https://github.com/CocoaPods/Specs, everything works fine. I wonder how to let cocoapods-art have access to my private repo

willyestradaa commented 5 years ago

Hi @seanliu1 how did you fix it? the same issue

TomChoi commented 4 years ago

Hi @seanliu1 plz let me know how did you fix it. I used artifactory private remote repo.