diff --git a/xcode/commonFastfile b/xcode/commonFastfile index e514031..904388a 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -10,7 +10,13 @@ private_lane :installDependencies do |options| end if File.exists? "../Cartfile" - carthage(command: "bootstrap", platform: "iOS") + begin + carthage(command: "bootstrap", platform: "iOS") + rescue + # workaround for https://github.com/Carthage/Carthage/issues/2298 + sh("rm -rf ~/Library/Caches/org.carthage.CarthageKit") + carthage(command: "update", platform: "iOS") + end end cocoapods(