From 494bc4886b91d1c40ec4ca87ef7630cf13cf5c8b Mon Sep 17 00:00:00 2001 From: Vlad Suhomlinov Date: Mon, 13 Sep 2021 19:10:35 +0300 Subject: [PATCH] refactor: add FORCE_LINT to fastlane --- xcode/commonFastfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index a3147d3..245e1cb 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -148,6 +148,7 @@ private_lane :buildArchive do |options| lane_name = options[:lane_name] configuration = options[:configuration] xcodeproj_path = options[:xcodeproj_path] + xcargs = "FORCE_LINT=true" # To enable linting on project without CodeLint target if configuration != "AppStore" # AppStore uses xcconfig choosen in Xcode set_xcconfig_for_configuration_of_project(lane_name, configuration, xcodeproj_path) @@ -166,6 +167,7 @@ private_lane :buildArchive do |options| skip_package_ipa: options[:skip_package_ipa], include_symbols: options[:include_symbols] || false, include_bitcode: options[:compileBitcode] || false, + xcargs: xcargs ) end