From a4ea8db1692503b634c24bce1f66d36d57b823fa Mon Sep 17 00:00:00 2001 From: Ben Yohay Date: Mon, 10 Jan 2022 17:51:16 +0200 Subject: [PATCH] Fastfile: Run tests with `BUILD_LIBRARY_FOR_DISTRIBUTION`. --- fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index bef67b6b..8c23c6f9 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -13,7 +13,7 @@ lane :test do sh "rm -rf ../#{DERIVED_DATA_PATH}" UI.message "Testing" - scan(scheme: "JOSESwift", derived_data_path: DERIVED_DATA_PATH, clean: true, output_directory: "#{TEST_OUTPUT}/xctest/") + scan(scheme: "JOSESwift", derived_data_path: DERIVED_DATA_PATH, clean: true, output_directory: "#{TEST_OUTPUT}/xctest/", xcargs: "BUILD_LIBRARY_FOR_DISTRIBUTION=YES") end desc "Lint Swift files"