From 172083d191e58afdd8d2313f21093301e1d9cf00 Mon Sep 17 00:00:00 2001 From: Max Muth Date: Mon, 16 Jan 2017 22:16:03 +0100 Subject: [PATCH] Update Fastlane documentation for latest version The latest Fastlane version uses the parameter key 'derived_data_path' to set the derived data path. The current way will result in a xcodebuild error, because Fastlane seems to inject -derivedData twice (one with their default and one due to the xcargs parameter). --- docs/sonarqube-fastlane.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sonarqube-fastlane.md b/docs/sonarqube-fastlane.md index a0d4a498..7ac96ea9 100644 --- a/docs/sonarqube-fastlane.md +++ b/docs/sonarqube-fastlane.md @@ -4,7 +4,7 @@ If you already use Fastlane, you can simply setup a new lane performing the anal ```ruby lane :metrics do - scan(scheme: "[SCHEME]", code_coverage: true, xcargs: "-derivedDataPath ./DerivedData", output_directory: "./reports") + scan(scheme: "[SCHEME]", code_coverage: true, derived_data_path: "./DerivedData", output_directory: "./reports") slather(cobertura_xml: true, jenkins: true, scheme: "[SCHEME]", build_directory: "./DerivedData", output_directory: "./reports", proj: "./[PROJECT].xcodeproj") sh("cd .. && lizard ./[SOURCE_FOLDER] -l swift --xml > ./reports/lizard-report.xml") swiftlint(output_file: "./reports/swiftlint.txt", ignore_exit_status: true)