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,