jfrog / cocoapods-art

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

pod repo-art add cocoapods-local and pod install deadlock #32

Open seanliu1 opened 5 years ago

seanliu1 commented 5 years ago

In CI environment, If I setup cocoapods-local before running pod install,

echo -e "machine quibi.jfrog.io\nlogin ${JFROG_USERNAME}\npassword ${JFROG_PASSWORD}" > ~/.netrc

bundle exec pod repo-art add cocoapods-local "https://xxxxx/api/pods/cocoapods-local"

I will see sh: line 0: cd: /Users/distiller/.cocoapods/repos: No such file or directory

Since in circle, pod is not never run before. Also if we run pod install, we will also get error since cocoapods-local is not setup yet.

The workaround is to manually create the folder, I believe we should include this logic to avoid sh: line 0: cd: /Users/distiller/.cocoapods/repos: No such file or directory

ashishj-optimus commented 2 years ago

@seanliu1 hope you're doing good. Were you able to resolve the CI, artifactory issue?