From 660067ed69bb802408def6716dd8ddf1836a559f Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Fri, 22 Mar 2019 16:32:19 +0300 Subject: [PATCH] revert iCloudContainerEnvironment --- xcode/commonFastfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 1e9b08e..7d3ef60 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -108,7 +108,9 @@ private_lane :buildConfiguration do |options| end private_lane :buildArchive do |options| - exportOptions = {compileBitcode: options[:compileBitcode] || false} + icloudEnvironment = options[:iCloudContainerEnvironment] || "" + exportOptions = icloudEnvironment.to_s.empty? ? {} : {iCloudContainerEnvironment: icloudEnvironment} + exportOptions[:compileBitcode] = options[:compileBitcode] || false gym( clean: true,