From f86e9b653a0ace1c7885025c8fba47a20b0d7a4b Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Mon, 13 Jan 2020 12:30:44 +0300 Subject: [PATCH] add cache_builds option to carthage --- xcode/commonFastfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index a011a27..edea840 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -19,7 +19,7 @@ private_lane :installDependencies do |options| rescue # workaround for https://github.com/Carthage/Carthage/issues/2298 sh("rm -rf ~/Library/Caches/org.carthage.CarthageKit") - carthage(command: "update", platform: "iOS") + carthage(command: "update", platform: "iOS", cache_builds: true) end end @@ -366,7 +366,7 @@ def set_xcconfig_for_configuration_of_project(xcconfig_name, configuration_name, project = Xcodeproj::Project.open(xcodeproj_path) - target_to_modify_selector = lambda do |t| + target_to_modify_selector = lambda do |t| supported_product_types = [ Xcodeproj::Constants::PRODUCT_TYPE_UTI[:application], Xcodeproj::Constants::PRODUCT_TYPE_UTI[:app_extension]