Reputation: 977
After upgrade your OS and/or your Xcode.
When you run
$ carthage update --platform iOS --no-use-binaries
you would get an output like:
Fetching FooLibrary
A shell task (/usr/bin/env git fetch --prune --quiet https://github.com/foodeveloper/FooLibrary.git refs/tags/:refs/tags/ +refs/heads/:refs/heads/ (launched in /Users/yourUser/Library/Caches/foo.package/dependencies/FooLibrary)) failed with exit code 1
Upvotes: 2
Views: 3085
Reputation: 977
This issue happen with Carthage 0.33.0 and Xcode 11.
To solve this issue:
First: Open your new Xcode and select the last CLI to make sure that you are using the last CLI.
Second: Please You could fix it by deleting the cache of Carthage: rm -rf ~/Library/Caches/org.carthage.CarthageKit source: https://github.com/ashleymills/Reachability.swift/issues/340
Upvotes: 8