All Collections
Push Notifications
Carthage fails to update 'ios-sdk'
Carthage fails to update 'ios-sdk'
Arnaud avatar
Written by Arnaud
Updated over a week ago

Due to a rebase of the ios-sdk (now Batch-iOS-SDK) Github repository, Carthage might fail to update dependencies with the following error:

A shell task (/usr/bin/env git fetch --prune --quiet refs/tags/*:refs/tags/* +refs/heads/*:refs/heads/* (launched in /Users/arnaud/Library/Caches/org.carthage.CarthageKit/dependencies/ios-sdk)) failed with exit code 1

You might have to reset your Carthage cache:

rm -rf ~/Library/Caches/org.carthage.CarthageKit

This article belongs to Batch's FAQ. Need more help? Find insightful articles, documentation, case & market studies, guides, and even more in our website's Resources section on and our blog.

Did this answer your question?