Merge pull request #109 from TouchInstinct/build_fix/carthage_invalid_download
workaround for invalid ZIP download
This commit is contained in:
commit
72f74326b1
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue