CocoaPods fails to install from GitHub with "No such file or directory" error

I created a subfile with two libraries. The first existing block installs fine. The second, which points to a GitHub project, fails with an error Errno::ENOENT - No such file or directory

.

Running pod install --verbose

I see the files are cloned from GitHub and stored in the folder named /var/folders/s8/05t8tk155t9dd6kzm9tlfpq00000gn/T/d20150526-5339-15aks97

successfully, but then the folder is immediately deleted before the command to copy those files from that temp folder to Pods

in the project. This is why the team doesn't work with No such file or directory

.

Based on other answers on the site, I cleared my folder ~/.cocoapods

and ran again pod setup

. I ran sudo gem update

which completed successfully. I also copied and pasted the command git clone

that pod install --verbose

says it started and exited without error.

I just don't know why this folder gets /var/folder

deleted before copying, and I'm not sure what else to try.

+3


source to share


2 answers


The repository is cloned into a temporary folder and then only files recognized as sources are added to the project, can you host your subfile?



+1


source


I faced the same problem. The cocoapods update solved it.



sudo gem update cocoapods

      

0


source







All Articles