From a039f4b4c3d64fc358cbb5332df355929746a20c Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Wed, 20 Feb 2019 17:02:16 +0300 Subject: [PATCH] don't run carthage for projects without it --- xcode/commonFastfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index d03a2f0..5374685 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -10,7 +10,9 @@ before_all do |lane, options| sh("rm -rf #{podsReposPath}") end - carthage(platform: "iOS") + if File.exists? "Cartfile" + carthage(platform: "iOS") + end cocoapods( clean: true,