From ebb6b75702141939531633eedfcd7a0c71330080 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 e2a522cb..34e10681 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -14,7 +14,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"