From 12022afd3cd0ef65cc2cbbf59e9be6d4e4862662 Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Fri, 20 Feb 2026 20:55:45 +0100 Subject: [PATCH 01/10] ci: Add swiftlint confi file to the root of the mono repo and a bash script to run it locally or in the CI/CD --- .swiftlint.yml | 63 ++++++++++++++++++++++++++++++++++++++++++++ scripts/swiftlint.sh | 58 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 .swiftlint.yml create mode 100755 scripts/swiftlint.sh diff --git a/.swiftlint.yml b/.swiftlint.yml new file mode 100644 index 0000000000..e4ea6e49e6 --- /dev/null +++ b/.swiftlint.yml @@ -0,0 +1,63 @@ +line_length: warning +force_try: warning + +disabled_rules: + - class_delegate_protocol + - notification_center_detachment + - identifier_name + - empty_enum_arguments + - multiple_closures_with_trailing_closure + - todo + - type_name + +type_body_length: + - 300 # warning + +cyclomatic_complexity: + ignores_case_statements: true + +line_length: + ignores_comments: true + ignores_urls: true + +file_length: + ignore_comment_only_lines: true + +excluded: + - "**/.build" + - "**/.swiftpm" + - "**/Pods" + - "**/build" + +included: + # BankSDK + - BankSDK/GiniBankSDK/Sources + - BankSDK/GiniBankSDK/Tests + - BankSDK/GiniBankSDKExample + + # CaptureSDK + - CaptureSDK/GiniCaptureSDK/Sources + - CaptureSDK/GiniCaptureSDK/Tests + - CaptureSDK/GiniCaptureSDKExample + + # HealthSDK + - HealthSDK/GiniHealthSDK/Sources + - HealthSDK/GiniHealthSDK/Tests + - HealthSDK/GiniHealthSDKExample + + # BankAPILibrary + - BankAPILibrary/GiniBankAPILibrary/Sources + - BankAPILibrary/GiniBankAPILibrary/Tests + - BankAPILibrary/GiniBankAPILibraryExample + + # HealthAPILibrary + - HealthAPILibrary/GiniHealthAPILibrary/Sources + - HealthAPILibrary/GiniHealthAPILibraryExample + + # MerchantSDK + - MerchantSDK/GiniMerchantSDK/Sources + - MerchantSDK/GiniMerchantSDKExample + + # GiniComponents + - GiniComponents/GiniInternalPaymentSDK/Sources + - GiniComponents/GiniUtilites/Sources diff --git a/scripts/swiftlint.sh b/scripts/swiftlint.sh new file mode 100755 index 0000000000..9ecb8d65f4 --- /dev/null +++ b/scripts/swiftlint.sh @@ -0,0 +1,58 @@ +#!/bin/bash +# SwiftLint runner for gini-mobile-ios +# +# Usage: +# ./scripts/swiftlint.sh — lint with warnings only +# ./scripts/swiftlint.sh --strict — fail on warnings (use in CI) +# ./scripts/swiftlint.sh --fix — auto-correct fixable violations +# +# The script resolves the project root regardless of where it is called from. + +set -euo pipefail + +ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)" +CONFIG="${ROOT_DIR}/.swiftlint.yml" +MODE="${1:-}" + +# ── Locate SwiftLint ────────────────────────────────────────────────────────── +if which swiftlint > /dev/null 2>&1; then + SWIFTLINT="swiftlint" +elif which mint > /dev/null 2>&1 && mint which swiftlint > /dev/null 2>&1; then + SWIFTLINT="mint run swiftlint swiftlint" +else + echo "❌ SwiftLint not found." + echo " Install via Homebrew: brew install swiftlint" + echo " Install via Mint: mint install realm/SwiftLint" + exit 1 +fi + +# ── Run ─────────────────────────────────────────────────────────────────────── +echo "🔍 SwiftLint — project root: ${ROOT_DIR}" +echo " Config: ${CONFIG}" +echo " Mode: ${MODE:-default (warnings)}" +echo "" + +cd "$ROOT_DIR" + +case "$MODE" in + --fix) + $SWIFTLINT --fix --config "$CONFIG" + echo "" + echo "✅ Auto-correct complete." + ;; + --strict) + $SWIFTLINT lint --strict --config "$CONFIG" + echo "" + echo "✅ Lint passed (strict mode)." + ;; + "") + $SWIFTLINT lint --config "$CONFIG" + echo "" + echo "✅ Lint complete." + ;; + *) + echo "❌ Unknown option: $MODE" + echo " Usage: $0 [--strict | --fix]" + exit 1 + ;; +esac From 40da484faf7b034cd27544dfc6c90e053d1d4009 Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Fri, 20 Feb 2026 20:57:00 +0100 Subject: [PATCH 02/10] fix(GiniBankSDKExample): Add script to run in xcode swiftlint and update config file path --- .../project.pbxproj | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj b/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj index 71d3953ab0..7b0ae10222 100644 --- a/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj +++ b/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj @@ -1314,6 +1314,7 @@ 28FB83B62E673C8600DE88EE /* Frameworks */, 28FB83B72E673C8600DE88EE /* Resources */, 280427BF2E705FA1000D658A /* ShellScript */, + 289235732F48F3090052152A /* SwiftLint */, ); buildRules = ( ); @@ -1721,6 +1722,24 @@ shellPath = /bin/sh; shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n\"${BUILD_DIR%/Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run\"\n\n"; }; + 289235732F48F3090052152A /* SwiftLint */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = SwiftLint; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if test -d \"/opt/homebrew/bin/\"; then\n PATH=\"/opt/homebrew/bin/:${PATH}\"\nfi\nif test -d \"$HOME/.mint/bin\"; then\n PATH=\"$HOME/.mint/bin:${PATH}\"\nfi\nexport PATH\nif which swiftlint >/dev/null; then\n swiftlint --config \"${SRCROOT}/../../.swiftlint.yml\"\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; + }; 8356CC2028D3652E0079AF00 /* SwiftLint */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -1738,7 +1757,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "if test -d \"/opt/homebrew/bin/\"; then\n PATH=\"/opt/homebrew/bin/:${PATH}\"\nfi\n\nif test -d \"$HOME/.mint/bin\"; then\n PATH=\"$HOME/.mint/bin:${PATH}\"\nfi\n\nexport PATH\n\nif which swiftlint >/dev/null; then\n swiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; + shellScript = "if test -d \"/opt/homebrew/bin/\"; then\n PATH=\"/opt/homebrew/bin/:${PATH}\"\nfi\nif test -d \"$HOME/.mint/bin\"; then\n PATH=\"$HOME/.mint/bin:${PATH}\"\nfi\nexport PATH\nif which swiftlint >/dev/null; then\n swiftlint --config \"${SRCROOT}/../../.swiftlint.yml\"\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; }; /* End PBXShellScriptBuildPhase section */ From a91c20416e413565fc375b637b376ef275329c06 Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Thu, 26 Feb 2026 18:13:00 +0100 Subject: [PATCH 03/10] feat: Update swiftlint config file --- .swiftlint.yml | 77 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 74 insertions(+), 3 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index e4ea6e49e6..113e15c85e 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,5 +1,23 @@ -line_length: warning -force_try: warning + +opt_in_rules: + - trailing_newline + - control_statement + - empty_count + - trailing_closure + - switch_case_on_newline + - colon + - comma + - unused_import + - redundant_nil_coalescing + - redundant_type_annotation + - vertical_whitespace_closing_braces + - fatal_error_message + - explicit_init + - trailing_whitespace + - vertical_whitespace + - vertical_whitespace_between_cases + - closure_spacing + - operator_usage_whitespace disabled_rules: - class_delegate_protocol @@ -9,19 +27,69 @@ disabled_rules: - multiple_closures_with_trailing_closure - todo - type_name + - switch_case_alignment + +trailing_whitespace: + ignores_empty_lines: true type_body_length: - 300 # warning cyclomatic_complexity: + warning: 10 + error: 15 ignores_case_statements: true line_length: ignores_comments: true ignores_urls: true + warning: 160 + error: 200 file_length: ignore_comment_only_lines: true + warning: 1000 + error: 2000 + +large_tuple: + warning: 4 + error: 5 + +nesting: + type_level: + warning: 2 + +force_try: error +force_unwrapping: error +overrides: + - included: ".*Tests.*" + force_try: warning + force_unwrapping: warning + +identifier_name: + min_length: 2 + +type_name: + max_length: 50 + +identifier_name: + allowed_symbols: + - _ + excluded: + - id + - to + - or + - ok + - in + - no + - km + - at + - sv + - x + - y + +# analyzer_rules: # Rules run by `swiftlint analyze` +# - explicit_self excluded: - "**/.build" @@ -38,7 +106,6 @@ included: # CaptureSDK - CaptureSDK/GiniCaptureSDK/Sources - CaptureSDK/GiniCaptureSDK/Tests - - CaptureSDK/GiniCaptureSDKExample # HealthSDK - HealthSDK/GiniHealthSDK/Sources @@ -52,12 +119,16 @@ included: # HealthAPILibrary - HealthAPILibrary/GiniHealthAPILibrary/Sources + - HealthAPILibrary/GiniHealthAPILibrary/Tests - HealthAPILibrary/GiniHealthAPILibraryExample # MerchantSDK - MerchantSDK/GiniMerchantSDK/Sources + - MerchantSDK/GiniMerchantSDK/Tests - MerchantSDK/GiniMerchantSDKExample # GiniComponents - GiniComponents/GiniInternalPaymentSDK/Sources + - GiniComponents/GiniInternalPaymentSDK/Tests - GiniComponents/GiniUtilites/Sources + - GiniComponents/GiniUtilites/Tests From 681a0f2a273e5e6396bf843dafac23c4a43fa39b Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Thu, 26 Feb 2026 18:29:44 +0100 Subject: [PATCH 04/10] fix(GiniBankAPILibrary): Break long method call into multiple lines with proper parameter alignment. --- .../Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BankAPILibrary/GiniBankAPILibrary/Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift b/BankAPILibrary/GiniBankAPILibrary/Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift index 318abfffbe..9308f3371b 100644 --- a/BankAPILibrary/GiniBankAPILibrary/Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift +++ b/BankAPILibrary/GiniBankAPILibrary/Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift @@ -39,7 +39,11 @@ class PaymentServiceTests: XCTestCase { func testResolvePaymentRequest() { let expect = expectation(description: "returns resolved payment request id") - paymentService.resolvePaymentRequest(id: "118edf41-102a-4b40-8753-df2f0634cb86", recipient: "Uno Flüchtlingshilfe", iban: "DE78370501980020008850", amount: "1.00:EUR", purpose: "ReNr 12345") { result in + paymentService.resolvePaymentRequest(id: "118edf41-102a-4b40-8753-df2f0634cb86", + recipient: "Uno Flüchtlingshilfe", + iban: "DE78370501980020008850", + amount: "1.00:EUR", + purpose: "ReNr 12345") { result in switch result { case .success(let paymentRequest): XCTAssertEqual(paymentRequest.requesterUri, From d31b39a30caf31eabed176815c44e9ee0cea52ad Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Fri, 27 Feb 2026 14:34:51 +0100 Subject: [PATCH 05/10] Revert "fix(GiniBankAPILibrary): Break long method call into multiple lines with proper parameter alignment." This reverts commit 681a0f2a273e5e6396bf843dafac23c4a43fa39b. --- .../Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/BankAPILibrary/GiniBankAPILibrary/Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift b/BankAPILibrary/GiniBankAPILibrary/Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift index 9308f3371b..318abfffbe 100644 --- a/BankAPILibrary/GiniBankAPILibrary/Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift +++ b/BankAPILibrary/GiniBankAPILibrary/Tests/GiniBankAPILibraryTests/PaymentServiceTests.swift @@ -39,11 +39,7 @@ class PaymentServiceTests: XCTestCase { func testResolvePaymentRequest() { let expect = expectation(description: "returns resolved payment request id") - paymentService.resolvePaymentRequest(id: "118edf41-102a-4b40-8753-df2f0634cb86", - recipient: "Uno Flüchtlingshilfe", - iban: "DE78370501980020008850", - amount: "1.00:EUR", - purpose: "ReNr 12345") { result in + paymentService.resolvePaymentRequest(id: "118edf41-102a-4b40-8753-df2f0634cb86", recipient: "Uno Flüchtlingshilfe", iban: "DE78370501980020008850", amount: "1.00:EUR", purpose: "ReNr 12345") { result in switch result { case .success(let paymentRequest): XCTAssertEqual(paymentRequest.requesterUri, From afa6d755a6e8389a0a4a78f321c6e2909923f56f Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Fri, 27 Feb 2026 14:41:49 +0100 Subject: [PATCH 06/10] feat(GiniBankSDKExample): Add swiftlint for all the targets BankSDK --- .../project.pbxproj | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj b/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj index 7b0ae10222..d263b7c382 100644 --- a/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj +++ b/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj @@ -1313,7 +1313,7 @@ 28FB83B52E673C8600DE88EE /* Sources */, 28FB83B62E673C8600DE88EE /* Frameworks */, 28FB83B72E673C8600DE88EE /* Resources */, - 280427BF2E705FA1000D658A /* ShellScript */, + 280427BF2E705FA1000D658A /* Craschlytics */, 289235732F48F3090052152A /* SwiftLint */, ); buildRules = ( @@ -1401,6 +1401,7 @@ F4807C30263C20BA00F30FF3 /* Sources */, F4807C31263C20BA00F30FF3 /* Frameworks */, F4807C32263C20BA00F30FF3 /* Resources */, + 28A53CAE2F51D5410004D557 /* SwiftLint */, ); buildRules = ( ); @@ -1676,8 +1677,9 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 280427BF2E705FA1000D658A /* ShellScript */ = { + 280427BF2E705FA1000D658A /* Craschlytics */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -1691,6 +1693,7 @@ "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/GoogleService-Info.plist", "$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)", ); + name = Craschlytics; outputFileListPaths = ( ); outputPaths = ( @@ -1740,6 +1743,25 @@ shellPath = /bin/sh; shellScript = "if test -d \"/opt/homebrew/bin/\"; then\n PATH=\"/opt/homebrew/bin/:${PATH}\"\nfi\nif test -d \"$HOME/.mint/bin\"; then\n PATH=\"$HOME/.mint/bin:${PATH}\"\nfi\nexport PATH\nif which swiftlint >/dev/null; then\n swiftlint --config \"${SRCROOT}/../../.swiftlint.yml\"\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; }; + 28A53CAE2F51D5410004D557 /* SwiftLint */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = SwiftLint; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if test -d \"/opt/homebrew/bin/\"; then\n PATH=\"/opt/homebrew/bin/:${PATH}\"\nfi\nif test -d \"$HOME/.mint/bin\"; then\n PATH=\"$HOME/.mint/bin:${PATH}\"\nfi\nexport PATH\nif which swiftlint >/dev/null; then\n swiftlint --config \"${SRCROOT}/../../.swiftlint.yml\"\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; + }; 8356CC2028D3652E0079AF00 /* SwiftLint */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; From 4fe963e7a16e928059205c607fcf94ce7065116c Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Fri, 27 Feb 2026 14:42:09 +0100 Subject: [PATCH 07/10] feat(GiniHealthSDKExample): Add swiftlint for all the targets HealthSDK PP-2343 --- .../project.pbxproj | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/HealthSDK/GiniHealthSDKExample/GiniHealthSDKExample.xcodeproj/project.pbxproj b/HealthSDK/GiniHealthSDKExample/GiniHealthSDKExample.xcodeproj/project.pbxproj index bc7055e471..8e33a797d0 100644 --- a/HealthSDK/GiniHealthSDKExample/GiniHealthSDKExample.xcodeproj/project.pbxproj +++ b/HealthSDK/GiniHealthSDKExample/GiniHealthSDKExample.xcodeproj/project.pbxproj @@ -311,6 +311,7 @@ F4EC38BC273C21E4007045DC /* Frameworks */, F4EC38BD273C21E4007045DC /* Resources */, 282DD2C12E4B2A8100A4EDCE /* Upload DSYM */, + 28A53CAF2F51D5DC0004D557 /* SwiftLint */, ); buildRules = ( ); @@ -445,6 +446,25 @@ shellPath = /bin/sh; shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n\"${BUILD_DIR%/Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run\"\n"; }; + 28A53CAF2F51D5DC0004D557 /* SwiftLint */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = SwiftLint; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if test -d \"/opt/homebrew/bin/\"; then\n PATH=\"/opt/homebrew/bin/:${PATH}\"\nfi\nif test -d \"$HOME/.mint/bin\"; then\n PATH=\"$HOME/.mint/bin:${PATH}\"\nfi\nexport PATH\nif which swiftlint >/dev/null; then\n swiftlint --config \"${SRCROOT}/../../.swiftlint.yml\"\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n"; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ From 9fc5ec6c5475eb3cb86f4812bb66d9ba3bb322cf Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Fri, 27 Feb 2026 15:03:32 +0100 Subject: [PATCH 08/10] fix: Temporary disabled error rules PP-2343 --- .swiftlint.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 113e15c85e..f19a7e4a31 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -2,7 +2,7 @@ opt_in_rules: - trailing_newline - control_statement - - empty_count + # - empty_count - trailing_closure - switch_case_on_newline - colon @@ -28,39 +28,44 @@ disabled_rules: - todo - type_name - switch_case_alignment + - force_try # This is just temporary added here + - force_unwrapping # This is just temporary added here + - empty_count # This is just temporary added here + - force_cast # This is just temporary added here + - shorthand_operator # This is just temporary added here trailing_whitespace: ignores_empty_lines: true type_body_length: - - 300 # warning + - 300 # warning # Temporarily disabled cyclomatic_complexity: warning: 10 - error: 15 + # error: 15 # Temporarily disabled ignores_case_statements: true line_length: ignores_comments: true ignores_urls: true warning: 160 - error: 200 + # error: 200 # Temporarily disabled file_length: ignore_comment_only_lines: true warning: 1000 - error: 2000 + # error: 2000 # Temporarily disabled large_tuple: warning: 4 - error: 5 + # error: 5 # Temporarily disabled nesting: type_level: warning: 2 -force_try: error -force_unwrapping: error +# force_try: error # Temporarily disabled +# force_unwrapping: error # Temporarily disabled overrides: - included: ".*Tests.*" force_try: warning From 8a0c7722c6c7153be480f09fb8df692744698a79 Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Tue, 3 Mar 2026 11:22:41 +0100 Subject: [PATCH 09/10] fix(GiniBankSDKExample): Fix typo PP-2343 --- .../GiniBankSDKExample.xcodeproj/project.pbxproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj b/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj index d263b7c382..3113929de4 100644 --- a/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj +++ b/BankSDK/GiniBankSDKExample/GiniBankSDKExample.xcodeproj/project.pbxproj @@ -1313,7 +1313,7 @@ 28FB83B52E673C8600DE88EE /* Sources */, 28FB83B62E673C8600DE88EE /* Frameworks */, 28FB83B72E673C8600DE88EE /* Resources */, - 280427BF2E705FA1000D658A /* Craschlytics */, + 280427BF2E705FA1000D658A /* Crashlytics */, 289235732F48F3090052152A /* SwiftLint */, ); buildRules = ( @@ -1677,7 +1677,7 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 280427BF2E705FA1000D658A /* Craschlytics */ = { + 280427BF2E705FA1000D658A /* Crashlytics */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; buildActionMask = 2147483647; @@ -1693,7 +1693,7 @@ "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/GoogleService-Info.plist", "$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)", ); - name = Craschlytics; + name = Crashlytics; outputFileListPaths = ( ); outputPaths = ( From e43f525e41fb84b6ea9ea419310c9dc2e4337b5c Mon Sep 17 00:00:00 2001 From: Valentina Iancu Date: Tue, 3 Mar 2026 11:24:22 +0100 Subject: [PATCH 10/10] fix: Fix swiftlint config file PP-2343 --- .swiftlint.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index f19a7e4a31..a6c33bb87c 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -62,7 +62,7 @@ large_tuple: nesting: type_level: - warning: 2 + warning: 2 # force_try: error # Temporarily disabled # force_unwrapping: error # Temporarily disabled @@ -71,13 +71,11 @@ overrides: force_try: warning force_unwrapping: warning -identifier_name: - min_length: 2 - type_name: max_length: 50 identifier_name: + min_length: 2 allowed_symbols: - _ excluded: