cocoapods-art icon indicating copy to clipboard operation
cocoapods-art copied to clipboard

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

Open seanliu1 opened this issue 6 years ago • 1 comments

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

seanliu1 avatar Jun 07 '19 03:06 seanliu1

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

ashishj-optimus avatar Jan 10 '22 16:01 ashishj-optimus