summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2023-09-20 14:17:42 +0200
committerBug Magnet <marco.nikic@mullvad.net>2023-09-20 15:29:59 +0200
commitda4e628b79fda9a2fa2426c1aa0e1f3cfcbc7ce8 (patch)
tree54db6508c9d716d1c7be533d39ff4c847ddffd5a /ios/MullvadVPN
parent1e17c07490ea3c66430559794778b343e21d83eb (diff)
downloadmullvadvpn-da4e628b79fda9a2fa2426c1aa0e1f3cfcbc7ce8.tar.xz
mullvadvpn-da4e628b79fda9a2fa2426c1aa0e1f3cfcbc7ce8.zip
Disable Module verifier, rename Settings to MullvadSettings to avoid clash with Apple private Framework of the same name
Diffstat (limited to 'ios/MullvadVPN')
-rw-r--r--ios/MullvadVPN/AppDelegate.swift2
-rw-r--r--ios/MullvadVPN/Containers/Root/RootConfiguration.swift2
-rw-r--r--ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift2
-rw-r--r--ios/MullvadVPN/Notifications/Notification Providers/AccountExpiryInAppNotificationProvider.swift2
-rw-r--r--ios/MullvadVPN/Notifications/Notification Providers/AccountExpirySystemNotificationProvider.swift2
-rw-r--r--ios/MullvadVPN/Notifications/Notification Providers/RegisteredDeviceInAppNotificationProvider.swift2
-rw-r--r--ios/MullvadVPN/SceneDelegate.swift2
-rw-r--r--ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProviderHost.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/LoadTunnelConfigurationOperation.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/RedeemVoucherOperation.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/RotateKeyOperation.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/SetAccountOperation.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelBlockObserver.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelInteractor.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelManager.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelObserver.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/UpdateAccountDataOperation.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/UpdateDeviceDataOperation.swift2
-rw-r--r--ios/MullvadVPN/TunnelManager/WgKeyRotation.swift2
-rw-r--r--ios/MullvadVPN/View controllers/Account/AccountInteractor.swift2
-rw-r--r--ios/MullvadVPN/View controllers/Account/AccountViewController.swift2
-rw-r--r--ios/MullvadVPN/View controllers/Login/LoginInteractor.swift2
-rw-r--r--ios/MullvadVPN/View controllers/OutOfTime/OutOfTimeInteractor.swift2
-rw-r--r--ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift2
-rw-r--r--ios/MullvadVPN/View controllers/Preferences/PreferencesInteractor.swift2
-rw-r--r--ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift2
-rw-r--r--ios/MullvadVPN/View controllers/Settings/SettingsDataSource.swift2
-rw-r--r--ios/MullvadVPN/View controllers/Settings/SettingsInteractor.swift2
-rw-r--r--ios/MullvadVPN/View controllers/Tunnel/TunnelViewControllerInteractor.swift2
29 files changed, 29 insertions, 29 deletions
diff --git a/ios/MullvadVPN/AppDelegate.swift b/ios/MullvadVPN/AppDelegate.swift
index 34a8f6463c..5bd73b1d52 100644
--- a/ios/MullvadVPN/AppDelegate.swift
+++ b/ios/MullvadVPN/AppDelegate.swift
@@ -9,11 +9,11 @@
import BackgroundTasks
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTransport
import MullvadTypes
import Operations
import RelayCache
-import Settings
import StoreKit
import UIKit
import UserNotifications
diff --git a/ios/MullvadVPN/Containers/Root/RootConfiguration.swift b/ios/MullvadVPN/Containers/Root/RootConfiguration.swift
index a3a2de79a9..bfcdf1c6e7 100644
--- a/ios/MullvadVPN/Containers/Root/RootConfiguration.swift
+++ b/ios/MullvadVPN/Containers/Root/RootConfiguration.swift
@@ -7,7 +7,7 @@
//
import Foundation
-import Settings
+import MullvadSettings
struct RootDeviceInfoViewModel {
let configuration: RootConfiguration
diff --git a/ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift b/ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift
index 31a3024f7f..94ae7ef1dc 100644
--- a/ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift
+++ b/ios/MullvadVPN/Coordinators/ApplicationCoordinator.swift
@@ -8,10 +8,10 @@
import Combine
import MullvadREST
+import MullvadSettings
import MullvadTypes
import RelayCache
import Routing
-import Settings
import UIKit
/**
diff --git a/ios/MullvadVPN/Notifications/Notification Providers/AccountExpiryInAppNotificationProvider.swift b/ios/MullvadVPN/Notifications/Notification Providers/AccountExpiryInAppNotificationProvider.swift
index 31bcb86b11..4412fd5b3a 100644
--- a/ios/MullvadVPN/Notifications/Notification Providers/AccountExpiryInAppNotificationProvider.swift
+++ b/ios/MullvadVPN/Notifications/Notification Providers/AccountExpiryInAppNotificationProvider.swift
@@ -7,8 +7,8 @@
//
import Foundation
+import MullvadSettings
import MullvadTypes
-import Settings
final class AccountExpiryInAppNotificationProvider: NotificationProvider, InAppNotificationProvider {
private var accountExpiry: Date?
diff --git a/ios/MullvadVPN/Notifications/Notification Providers/AccountExpirySystemNotificationProvider.swift b/ios/MullvadVPN/Notifications/Notification Providers/AccountExpirySystemNotificationProvider.swift
index a608b72cdd..98c2cb549d 100644
--- a/ios/MullvadVPN/Notifications/Notification Providers/AccountExpirySystemNotificationProvider.swift
+++ b/ios/MullvadVPN/Notifications/Notification Providers/AccountExpirySystemNotificationProvider.swift
@@ -7,7 +7,7 @@
//
import Foundation
-import Settings
+import MullvadSettings
import UserNotifications
final class AccountExpirySystemNotificationProvider: NotificationProvider, SystemNotificationProvider {
diff --git a/ios/MullvadVPN/Notifications/Notification Providers/RegisteredDeviceInAppNotificationProvider.swift b/ios/MullvadVPN/Notifications/Notification Providers/RegisteredDeviceInAppNotificationProvider.swift
index b9d23646cf..8ac30f74f7 100644
--- a/ios/MullvadVPN/Notifications/Notification Providers/RegisteredDeviceInAppNotificationProvider.swift
+++ b/ios/MullvadVPN/Notifications/Notification Providers/RegisteredDeviceInAppNotificationProvider.swift
@@ -7,7 +7,7 @@
//
import Foundation
-import Settings
+import MullvadSettings
import UIKit.UIColor
import UIKit.UIFont
diff --git a/ios/MullvadVPN/SceneDelegate.swift b/ios/MullvadVPN/SceneDelegate.swift
index 51cdef1e94..7a7f9f84da 100644
--- a/ios/MullvadVPN/SceneDelegate.swift
+++ b/ios/MullvadVPN/SceneDelegate.swift
@@ -8,10 +8,10 @@
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTypes
import Operations
import RelayCache
-import Settings
import UIKit
class SceneDelegate: UIResponder, UIWindowSceneDelegate, SettingsMigrationUIHandler {
diff --git a/ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProviderHost.swift b/ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProviderHost.swift
index 14abadd401..12c6e5a017 100644
--- a/ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProviderHost.swift
+++ b/ios/MullvadVPN/SimulatorTunnelProvider/SimulatorTunnelProviderHost.swift
@@ -11,12 +11,12 @@
import Foundation
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTransport
import MullvadTypes
import enum NetworkExtension.NEProviderStopReason
import RelayCache
import RelaySelector
-import Settings
import TunnelProviderMessaging
final class SimulatorTunnelProviderHost: SimulatorTunnelProviderDelegate {
diff --git a/ios/MullvadVPN/TunnelManager/LoadTunnelConfigurationOperation.swift b/ios/MullvadVPN/TunnelManager/LoadTunnelConfigurationOperation.swift
index 0380e7d4e0..74881d4969 100644
--- a/ios/MullvadVPN/TunnelManager/LoadTunnelConfigurationOperation.swift
+++ b/ios/MullvadVPN/TunnelManager/LoadTunnelConfigurationOperation.swift
@@ -8,9 +8,9 @@
import Foundation
import MullvadLogging
+import MullvadSettings
import MullvadTypes
import Operations
-import Settings
class LoadTunnelConfigurationOperation: ResultOperation<Void> {
private let logger = Logger(label: "LoadTunnelConfigurationOperation")
diff --git a/ios/MullvadVPN/TunnelManager/RedeemVoucherOperation.swift b/ios/MullvadVPN/TunnelManager/RedeemVoucherOperation.swift
index a184f6c8c0..7fab35b2e4 100644
--- a/ios/MullvadVPN/TunnelManager/RedeemVoucherOperation.swift
+++ b/ios/MullvadVPN/TunnelManager/RedeemVoucherOperation.swift
@@ -9,9 +9,9 @@
import Foundation
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTypes
import Operations
-import Settings
class RedeemVoucherOperation: ResultOperation<REST.SubmitVoucherResponse> {
private let logger = Logger(label: "RedeemVoucherOperation")
diff --git a/ios/MullvadVPN/TunnelManager/RotateKeyOperation.swift b/ios/MullvadVPN/TunnelManager/RotateKeyOperation.swift
index e3344d9afa..b40968d380 100644
--- a/ios/MullvadVPN/TunnelManager/RotateKeyOperation.swift
+++ b/ios/MullvadVPN/TunnelManager/RotateKeyOperation.swift
@@ -9,9 +9,9 @@
import Foundation
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTypes
import Operations
-import Settings
import class WireGuardKitTypes.PrivateKey
class RotateKeyOperation: ResultOperation<Void> {
diff --git a/ios/MullvadVPN/TunnelManager/SetAccountOperation.swift b/ios/MullvadVPN/TunnelManager/SetAccountOperation.swift
index 72a673468a..ee805c9d92 100644
--- a/ios/MullvadVPN/TunnelManager/SetAccountOperation.swift
+++ b/ios/MullvadVPN/TunnelManager/SetAccountOperation.swift
@@ -9,9 +9,9 @@
import Foundation
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTypes
import Operations
-import Settings
import class WireGuardKitTypes.PrivateKey
import class WireGuardKitTypes.PublicKey
diff --git a/ios/MullvadVPN/TunnelManager/TunnelBlockObserver.swift b/ios/MullvadVPN/TunnelManager/TunnelBlockObserver.swift
index ba928ee40c..050fb1fdf2 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelBlockObserver.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelBlockObserver.swift
@@ -7,7 +7,7 @@
//
import Foundation
-import Settings
+import MullvadSettings
final class TunnelBlockObserver: TunnelObserver {
typealias DidLoadConfigurationHandler = (TunnelManager) -> Void
diff --git a/ios/MullvadVPN/TunnelManager/TunnelInteractor.swift b/ios/MullvadVPN/TunnelManager/TunnelInteractor.swift
index b7cbef5be4..d5f9d9ae8b 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelInteractor.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelInteractor.swift
@@ -7,9 +7,9 @@
//
import Foundation
+import MullvadSettings
import RelayCache
import RelaySelector
-import Settings
protocol TunnelInteractor {
// MARK: - Tunnel manipulation
diff --git a/ios/MullvadVPN/TunnelManager/TunnelManager.swift b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
index 9facc14552..3207834035 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
@@ -9,12 +9,12 @@
import Foundation
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTypes
import NetworkExtension
import Operations
import RelayCache
import RelaySelector
-import Settings
import StoreKit
import TunnelProviderMessaging
import UIKit
diff --git a/ios/MullvadVPN/TunnelManager/TunnelObserver.swift b/ios/MullvadVPN/TunnelManager/TunnelObserver.swift
index bd930d56fd..0ae9fd5f63 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelObserver.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelObserver.swift
@@ -7,7 +7,7 @@
//
import Foundation
-import Settings
+import MullvadSettings
protocol TunnelObserver: AnyObject {
func tunnelManagerDidLoadConfiguration(_ manager: TunnelManager)
diff --git a/ios/MullvadVPN/TunnelManager/UpdateAccountDataOperation.swift b/ios/MullvadVPN/TunnelManager/UpdateAccountDataOperation.swift
index be6d3742d8..2b880ab1c9 100644
--- a/ios/MullvadVPN/TunnelManager/UpdateAccountDataOperation.swift
+++ b/ios/MullvadVPN/TunnelManager/UpdateAccountDataOperation.swift
@@ -9,9 +9,9 @@
import Foundation
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTypes
import Operations
-import Settings
class UpdateAccountDataOperation: ResultOperation<Void> {
private let logger = Logger(label: "UpdateAccountDataOperation")
diff --git a/ios/MullvadVPN/TunnelManager/UpdateDeviceDataOperation.swift b/ios/MullvadVPN/TunnelManager/UpdateDeviceDataOperation.swift
index ceefe4bcc7..85700d8dca 100644
--- a/ios/MullvadVPN/TunnelManager/UpdateDeviceDataOperation.swift
+++ b/ios/MullvadVPN/TunnelManager/UpdateDeviceDataOperation.swift
@@ -9,9 +9,9 @@
import Foundation
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTypes
import Operations
-import Settings
import class WireGuardKitTypes.PublicKey
class UpdateDeviceDataOperation: ResultOperation<StoredDeviceData> {
diff --git a/ios/MullvadVPN/TunnelManager/WgKeyRotation.swift b/ios/MullvadVPN/TunnelManager/WgKeyRotation.swift
index b1dac73cb4..89e6ae6891 100644
--- a/ios/MullvadVPN/TunnelManager/WgKeyRotation.swift
+++ b/ios/MullvadVPN/TunnelManager/WgKeyRotation.swift
@@ -7,8 +7,8 @@
//
import Foundation
+import MullvadSettings
import MullvadTypes
-import Settings
import class WireGuardKitTypes.PrivateKey
import class WireGuardKitTypes.PublicKey
diff --git a/ios/MullvadVPN/View controllers/Account/AccountInteractor.swift b/ios/MullvadVPN/View controllers/Account/AccountInteractor.swift
index 19d4e39a4c..a08bd10064 100644
--- a/ios/MullvadVPN/View controllers/Account/AccountInteractor.swift
+++ b/ios/MullvadVPN/View controllers/Account/AccountInteractor.swift
@@ -8,9 +8,9 @@
import Foundation
import MullvadREST
+import MullvadSettings
import MullvadTypes
import Operations
-import Settings
import StoreKit
final class AccountInteractor {
diff --git a/ios/MullvadVPN/View controllers/Account/AccountViewController.swift b/ios/MullvadVPN/View controllers/Account/AccountViewController.swift
index e8a6bda703..30a970280b 100644
--- a/ios/MullvadVPN/View controllers/Account/AccountViewController.swift
+++ b/ios/MullvadVPN/View controllers/Account/AccountViewController.swift
@@ -8,9 +8,9 @@
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTypes
import Operations
-import Settings
import StoreKit
import UIKit
diff --git a/ios/MullvadVPN/View controllers/Login/LoginInteractor.swift b/ios/MullvadVPN/View controllers/Login/LoginInteractor.swift
index f7b54a66fe..4ec56074b1 100644
--- a/ios/MullvadVPN/View controllers/Login/LoginInteractor.swift
+++ b/ios/MullvadVPN/View controllers/Login/LoginInteractor.swift
@@ -8,7 +8,7 @@
import Foundation
import MullvadLogging
-import Settings
+import MullvadSettings
final class LoginInteractor {
private let tunnelManager: TunnelManager
diff --git a/ios/MullvadVPN/View controllers/OutOfTime/OutOfTimeInteractor.swift b/ios/MullvadVPN/View controllers/OutOfTime/OutOfTimeInteractor.swift
index 55032e892b..8524ff13b0 100644
--- a/ios/MullvadVPN/View controllers/OutOfTime/OutOfTimeInteractor.swift
+++ b/ios/MullvadVPN/View controllers/OutOfTime/OutOfTimeInteractor.swift
@@ -9,9 +9,9 @@
import Foundation
import MullvadLogging
import MullvadREST
+import MullvadSettings
import MullvadTypes
import Operations
-import Settings
import StoreKit
final class OutOfTimeInteractor {
diff --git a/ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift b/ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift
index eb134361d5..a0bf09647d 100644
--- a/ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift
+++ b/ios/MullvadVPN/View controllers/Preferences/PreferencesDataSource.swift
@@ -6,7 +6,7 @@
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
//
-import Settings
+import MullvadSettings
import UIKit
final class PreferencesDataSource: UITableViewDiffableDataSource<
diff --git a/ios/MullvadVPN/View controllers/Preferences/PreferencesInteractor.swift b/ios/MullvadVPN/View controllers/Preferences/PreferencesInteractor.swift
index bd4a5042a1..c05c40127c 100644
--- a/ios/MullvadVPN/View controllers/Preferences/PreferencesInteractor.swift
+++ b/ios/MullvadVPN/View controllers/Preferences/PreferencesInteractor.swift
@@ -7,8 +7,8 @@
//
import Foundation
+import MullvadSettings
import RelayCache
-import Settings
final class PreferencesInteractor {
private let tunnelManager: TunnelManager
diff --git a/ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift b/ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift
index 66bda89769..850a84b666 100644
--- a/ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift
+++ b/ios/MullvadVPN/View controllers/Preferences/PreferencesViewModel.swift
@@ -6,8 +6,8 @@
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
//
+import MullvadSettings
import MullvadTypes
-import Settings
import UIKit
enum CustomDNSPrecondition {
diff --git a/ios/MullvadVPN/View controllers/Settings/SettingsDataSource.swift b/ios/MullvadVPN/View controllers/Settings/SettingsDataSource.swift
index 62688ce92d..1837b85898 100644
--- a/ios/MullvadVPN/View controllers/Settings/SettingsDataSource.swift
+++ b/ios/MullvadVPN/View controllers/Settings/SettingsDataSource.swift
@@ -6,7 +6,7 @@
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
//
-import Settings
+import MullvadSettings
import UIKit
final class SettingsDataSource: UITableViewDiffableDataSource<
diff --git a/ios/MullvadVPN/View controllers/Settings/SettingsInteractor.swift b/ios/MullvadVPN/View controllers/Settings/SettingsInteractor.swift
index 3e773c48c6..58b5201cf6 100644
--- a/ios/MullvadVPN/View controllers/Settings/SettingsInteractor.swift
+++ b/ios/MullvadVPN/View controllers/Settings/SettingsInteractor.swift
@@ -7,7 +7,7 @@
//
import Foundation
-import Settings
+import MullvadSettings
final class SettingsInteractor {
private let tunnelManager: TunnelManager
diff --git a/ios/MullvadVPN/View controllers/Tunnel/TunnelViewControllerInteractor.swift b/ios/MullvadVPN/View controllers/Tunnel/TunnelViewControllerInteractor.swift
index 3df518ab84..47adb52703 100644
--- a/ios/MullvadVPN/View controllers/Tunnel/TunnelViewControllerInteractor.swift
+++ b/ios/MullvadVPN/View controllers/Tunnel/TunnelViewControllerInteractor.swift
@@ -7,7 +7,7 @@
//
import Foundation
-import Settings
+import MullvadSettings
final class TunnelViewControllerInteractor {
private let tunnelManager: TunnelManager