From 00aef6ca9734dd4aaa3516dc34ec4230f55e2d3b Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Tue, 1 Aug 2023 15:01:16 +1000 Subject: [PATCH] Attempt to handle an invalid pod manifest file --- .drone.jsonnet | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 5cc253a59..4476809f6 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -13,7 +13,9 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/ // 'LANG' env var so we need to work around the with https://github.com/CocoaPods/CocoaPods/issues/6333 local install_cocoapods = { name: 'Install CocoaPods', - commands: ['LANG=en_US.UTF-8 pod install'] + commands: [' + LANG=en_US.UTF-8 pod install || rm -rf ./Pods && LANG=en_US.UTF-8 pod install + '] }; // Load from the cached CocoaPods directory (to speed up the build)