From 6d5f2f077c44b7c3f0fa06a5a2cc62ab13515a71 Mon Sep 17 00:00:00 2001 From: Valentin Perignon Date: Mon, 16 Nov 2026 10:27:36 +0100 Subject: [PATCH 1/2] chore: Replace Sentry-Dynamic by SentrySPM --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 4f4b4b93..82f83620 100644 --- a/Package.swift +++ b/Package.swift @@ -54,7 +54,7 @@ let package = Package( "Alamofire", .product(name: "InfomaniakDI", package: "ios-dependency-injection"), .product(name: "InfomaniakLogin", package: "ios-login"), - .product(name: "Sentry-Dynamic", package: "sentry-cocoa"), + .product(name: "SentrySPM", package: "sentry-cocoa"), .product(name: "OSInfo", package: "OSInfo") ] ), From e856ed083dee8805db3c12b4c38b7db7e2c718c2 Mon Sep 17 00:00:00 2001 From: Valentin Perignon Date: Mon, 16 Nov 2026 10:27:42 +0100 Subject: [PATCH 2/2] chore: Update imports --- Sources/InfomaniakCore/Account/KeychainHelper.swift | 2 +- Sources/InfomaniakCore/DeeplinkService/DeeplinkService.swift | 2 +- Sources/InfomaniakCore/Networking/ApiFetcher.swift | 2 +- Sources/InfomaniakCore/Networking/RequestContextIdAdaptor.swift | 2 +- Sources/InfomaniakCore/Tracking/SentryDebug.swift | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/InfomaniakCore/Account/KeychainHelper.swift b/Sources/InfomaniakCore/Account/KeychainHelper.swift index 6ae43bc0..defdfaa2 100644 --- a/Sources/InfomaniakCore/Account/KeychainHelper.swift +++ b/Sources/InfomaniakCore/Account/KeychainHelper.swift @@ -19,7 +19,7 @@ import Foundation import InfomaniakLogin import OSLog -import Sentry +import SentrySwift public class KeychainHelper { private let logger = Logger(category: "KeychainHelper") diff --git a/Sources/InfomaniakCore/DeeplinkService/DeeplinkService.swift b/Sources/InfomaniakCore/DeeplinkService/DeeplinkService.swift index 29c3c5a3..1f14bb02 100644 --- a/Sources/InfomaniakCore/DeeplinkService/DeeplinkService.swift +++ b/Sources/InfomaniakCore/DeeplinkService/DeeplinkService.swift @@ -18,7 +18,7 @@ import Foundation import InfomaniakDI -import Sentry +import SentrySwift public enum KDriveFileSharingConstants { public static let appGroupIdentifier = "group.com.infomaniak" diff --git a/Sources/InfomaniakCore/Networking/ApiFetcher.swift b/Sources/InfomaniakCore/Networking/ApiFetcher.swift index e13ef72d..8d29a094 100644 --- a/Sources/InfomaniakCore/Networking/ApiFetcher.swift +++ b/Sources/InfomaniakCore/Networking/ApiFetcher.swift @@ -20,7 +20,7 @@ import Alamofire import Foundation import InfomaniakDI import InfomaniakLogin -import Sentry +import SentrySwift public typealias EncodableParameters = [String: Encodable & Sendable] diff --git a/Sources/InfomaniakCore/Networking/RequestContextIdAdaptor.swift b/Sources/InfomaniakCore/Networking/RequestContextIdAdaptor.swift index 862ababc..3e74e243 100644 --- a/Sources/InfomaniakCore/Networking/RequestContextIdAdaptor.swift +++ b/Sources/InfomaniakCore/Networking/RequestContextIdAdaptor.swift @@ -18,7 +18,7 @@ import Alamofire import Foundation -import Sentry +import SentrySwift public class RequestContextIdAdaptor: RequestAdapter { public static let requestContextIdHeader = "x-infomaniak-request-context-id" diff --git a/Sources/InfomaniakCore/Tracking/SentryDebug.swift b/Sources/InfomaniakCore/Tracking/SentryDebug.swift index 94494f4f..fe7b06e7 100644 --- a/Sources/InfomaniakCore/Tracking/SentryDebug.swift +++ b/Sources/InfomaniakCore/Tracking/SentryDebug.swift @@ -17,7 +17,7 @@ */ import Foundation -import Sentry +import SentrySwift public enum SentryDebug { enum Category {