Closed justinmakaila closed 9 years ago
I can’t reproduce this error, unfortunately. What are your versions of:
carthage
git
?
Are you using submodules?
/cc @jspahrsummers
Xcode version 6.1.1 (6A2008a) carthage version 0.3.0 git version 1.9.3
@justinmakaila Same as me, then. Can you try this?
In that folder, make a Cartfile with:
github "robrix/Prelude" == 1.1
carthage update
Cartfile:
github "robrix/Prelude" == 1.1
Output:
~/W/S/carthage-test $ carthage update
*** Fetching Prelude
Error Domain=org.carthage.ReactiveTask Code=0 "fatal: Not a git repository (or any of the parent directories): .git
" UserInfo=0x7f9f5d203630 {NSLocalizedDescription=fatal: Not a git repository (or any of the parent directories): .git
, ReactiveTaskErrorExitCode=128, ReactiveTaskErrorStandardError=fatal: Not a git repository (or any of the parent directories): .git
}
@jspahrsummers I’m out of ideas, but pretty sure this is not an issue with Prelude. Any thoughts?
@justinmakaila Can you try:
rm -rf ~/.carthage/dependencies
rm -rf ~/Library/Caches/org.carthage.CarthageKit
And then attempt the update again? It sounds like one of the local Git clones got messed up somehow.
@robrix @jspahrsummers That worked. Thanks!
:sparkles:
Thanks @jspahrsummers :heart:
Thanks for that jspahrsummers. really helped me out :+1:
I already use
carthage
to manage the dependencies in my framework, but every time I try to runcarthage update
with the linein my
Cartfile
, I get an error:But again, only when I try to add Prelude. Have you experienced this?