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.
source to share