diff --git a/App/APITokensProtocolConformance.swift b/App/APITokensProtocolConformance.swift new file mode 100644 index 0000000..c4280ea --- /dev/null +++ b/App/APITokensProtocolConformance.swift @@ -0,0 +1,20 @@ +// +// APITokensProtocolConformance.swift +// PROJECT_NAME +// +// Created by Jakob Mygind on 30/01/2023. +// + +import MLTokenHandler +import Model +import Foundation + +extension APITokensEnvelope: APITokensEnvelopeProtocol { + public var getAccessToken: String { + token.rawValue + } + + public var getRefreshToken: String { + refreshToken.token.rawValue + } +} diff --git a/App/AppDelegate.swift b/App/AppDelegate.swift index fbb6a9d..b29b059 100644 --- a/App/AppDelegate.swift +++ b/App/AppDelegate.swift @@ -8,28 +8,30 @@ import APIClientLive import AppFeature import Combine +import Dependencies import Localizations +import Model +import NStackSDK import PersistenceClient import Style import SwiftUI +import XCTestDynamicOverlay @main final class AppDelegate: NSObject, UIApplicationDelegate { - + func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil ) -> Bool { - + return true } } class SceneDelegate: UIResponder, UIWindowSceneDelegate { var window: UIWindow? - var localizations: ObservableLocalizations = .init(.bundled) - var tokenCancellable: AnyCancellable? - + func scene( _ scene: UIScene, willConnectTo session: UISceneSession, @@ -37,8 +39,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { ) { guard let scene = (scene as? UIWindowScene) else { return } self.window = UIWindow(windowScene: scene) - - self.setupNStack() + self.registerFonts() self.startAppView() } @@ -47,60 +48,29 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { // MARK: - Dependencies setup extension SceneDelegate { - + /// Allows using project specific fonts int the same way you use any of the iOS-provided fonts. /// Custom fonts should be located on the `Style`. fileprivate func registerFonts() { CustomFonts.registerCustomFonts() - } - - /// Handles setup of [NStack](https://nstack.io) services. - /// This example demonstrates [Localization](https://nstack-io.github.io/docs/docs/features/localize.html) service activation. - fileprivate func setupNStack() { - localizations = startNStackSDK( - appId: <#appID#>, - restAPIKey: <#restAPIKey#> - ) - } - + } + /// Defines content view of the window assigned to the scene with the required dependencies. /// This is the entry point for the app which defines the source of truth for related environment settings. fileprivate func startAppView() { - let baseURL = Configuration.API.baseURL - - let persistenceClient = PersistenceClient.live(keyPrefix: Bundle.main.bundleIdentifier!) - - let authHandler = AuthenticationHandler( - refreshURL: <#refreshURL#>, - tokens: persistenceClient.tokens.load() - ) - tokenCancellable = authHandler.tokenUpdatePublisher.sink( - receiveValue: persistenceClient.tokens.save) - - let environment = AppEnvironment( - mainQueue: DispatchQueue.main.eraseToAnyScheduler(), - apiClient: .live(baseURL: baseURL, authenticationHandler: authHandler), - date: Date.init, - calendar: .autoupdatingCurrent, - localizations: localizations, - appVersion: .live, - persistenceClient: persistenceClient, - tokenUpdatePublisher: authHandler.tokenUpdatePublisher.eraseToAnyPublisher(), - networkMonitor: .live(queue: .main) - ) - + + @Dependency(\.localizations) var localizations + +#if RELEASE + AppView(viewModel: .init()) + .environmentObject(localizations) +#else let apiEnvironments = Configuration.API.environments - - let vm = AppViewModel(environment: environment) - #if RELEASE - let appView = AppView(viewModel: vm) - .environmentObject(localizations) - #else - let appView = AppView(viewModel: vm) - .environmentObject(localizations) - .environment(\.apiEnvironments, apiEnvironments) - #endif - + let appView = AppView(viewModel: .init()) + .environmentObject(localizations) + .environment(\.apiEnvironments, apiEnvironments) +#endif + self.window?.rootViewController = UIHostingController(rootView: appView) self.window?.makeKeyAndVisible() } diff --git a/App/EnvVars.swift b/App/EnvVars.swift new file mode 100644 index 0000000..483476a --- /dev/null +++ b/App/EnvVars.swift @@ -0,0 +1,58 @@ +// +// EnvVars.swift +// PROJECT_NAME +// +// Created by Jakob Mygind on 24/01/2023. +// + +import Dependencies +import Foundation +import NStackSDK +import PersistenceClient + +public struct EnvVars { + + public struct NStackVars { + let appId: String + let restAPIKey: String + let environment: NStackSDK.Configuration.NStackEnvironment + } + + var baseURL: URL + var refreshURL: URL + var persistenceKeyPrefix: String + var nstackVars: NStackVars +} + +extension EnvVars: DependencyKey { +#warning("Set up environment variables here") + public static var liveValue: EnvVars { + .init( + baseURL: Configuration.API.baseURL, + refreshURL: unimplemented(), + persistenceKeyPrefix: Bundle.main.bundleIdentifier!, + nstackVars: .init( + appId: unimplemented(), + restAPIKey: unimplemented(), + environment: currentNStackEnvironment() + ) + ) + } + + static func currentNStackEnvironment() -> NStackSDK.Configuration.NStackEnvironment { + #if RELEASE + return .production + #elseif TEST + return .test + #else + return .debug + #endif + } +} + +extension DependencyValues { + public var envVars: EnvVars { + get { self[EnvVars.self] } + set { self[EnvVars.self] = newValue } + } +} diff --git a/App/Info.plist b/App/Info.plist index b23c166..9f66a43 100644 --- a/App/Info.plist +++ b/App/Info.plist @@ -2,8 +2,8 @@ - API_BASE_URL_DEV - $(API_BASE_URL_DEV) + API_BASE_URL_STAGING + $(API_BASE_URL_STAGING) API_BASE_URL_PROD $(API_BASE_URL_PROD) DEFAULT_BASE_URL diff --git a/App/LiveDependencies.swift b/App/LiveDependencies.swift new file mode 100644 index 0000000..65b1c25 --- /dev/null +++ b/App/LiveDependencies.swift @@ -0,0 +1,82 @@ +// +// Environment.swift +// PROJECT_NAME +// +// Created by Jakob Mygind on 24/01/2023. +// + +import APIClient +import APIClientLive +import AppVersion +import Dependencies +import Foundation +import Localizations +import Model +import NetworkClient +import NStackSDK +import PersistenceClient +import MLTokenHandler + +extension APIClient: DependencyKey { + public static var liveValue: APIClient { + + @Dependency(\.envVars) var envVars + @Dependency(\.persistenceClient) var persistenceClient + + var continuation: AsyncStream.Continuation! + + let tokenValuesStream: AsyncStream = .init { cont in + continuation = cont + } + let authHandler = AuthenticationHandlerAsync( + refreshURL: envVars.refreshURL, + getTokens: persistenceClient.tokens.load, + saveTokens: { tokens in + persistenceClient.tokens.save(tokens) + continuation.yield(tokens) + } + ) + + return APIClient.live( + baseURL: envVars.baseURL, + authenticationHandler: authHandler, + tokensUpdateStream: tokenValuesStream + ) + } +} + +extension PersistenceClient: DependencyKey { + + public static var liveValue: PersistenceClient { + @Dependency(\.envVars) var envVars + + return .live(keyPrefix: envVars.persistenceKeyPrefix) + } +} + +extension AppVersion: DependencyKey { + public static var liveValue: AppVersion { + .live + } +} + +/// Handles setup of [NStack](https://nstack.io) services. +/// This example demonstrates [Localization](https://nstack-io.github.io/docs/docs/features/localize.html) service activation. +extension ObservableLocalizations: DependencyKey { + public static var liveValue: ObservableLocalizations { + + @Dependency(\.envVars) var envVars + return startNStackSDK( + appId: envVars.nstackVars.appId, + restAPIKey: envVars.nstackVars.restAPIKey, + environment: envVars.nstackVars.environment + ) + } +} + +extension NetworkClient: DependencyKey { + public static var liveValue: NetworkClient { + .live(queue: .main) + } +} + diff --git a/App/ProjectConfig.swift b/App/ProjectConfig.swift index c075480..9c6b5b3 100644 --- a/App/ProjectConfig.swift +++ b/App/ProjectConfig.swift @@ -13,7 +13,7 @@ public enum Configuration { public enum API { enum Key: String, CaseIterable { #if !RELEASE - case dev = "API_BASE_URL_DEV" + case dev = "API_BASE_URL_STAGING" #endif case prod = "API_BASE_URL_PROD" static var defaultKey = "DEFAULT_BASE_URL" diff --git a/App/Test.xcconfig b/App/Staging.xcconfig similarity index 61% rename from App/Test.xcconfig rename to App/Staging.xcconfig index c25f93a..38124b9 100644 --- a/App/Test.xcconfig +++ b/App/Staging.xcconfig @@ -1,5 +1,5 @@ #include "Production.xcconfig" -API_BASE_URL_DEV = some.apiurl.dev.com +API_BASE_URL_STAGING = some.apiurl.dev.com DEFAULT_BASE_URL = API_BASE_URL_PROD diff --git a/Modules/.swiftpm/xcode/xcshareddata/xcschemes/LoginFeature.xcscheme b/Modules/.swiftpm/xcode/xcshareddata/xcschemes/LoginFeature.xcscheme new file mode 100644 index 0000000..6ccb173 --- /dev/null +++ b/Modules/.swiftpm/xcode/xcshareddata/xcschemes/LoginFeature.xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Modules/.swiftpm/xcode/xcshareddata/xcschemes/TokenHandler.xcscheme b/Modules/.swiftpm/xcode/xcshareddata/xcschemes/TokenHandler.xcscheme new file mode 100644 index 0000000..114b328 --- /dev/null +++ b/Modules/.swiftpm/xcode/xcshareddata/xcschemes/TokenHandler.xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Modules/Package.swift b/Modules/Package.swift index f6c04e4..ee776b9 100644 --- a/Modules/Package.swift +++ b/Modules/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.5 +// swift-tools-version:5.7 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -23,6 +23,7 @@ let package = Package( .library(name: "NetworkClient", targets: ["NetworkClient"]), .library(name: "PersistenceClient", targets: ["PersistenceClient"]), .library(name: "Style", targets: ["Style"]), +// .library(name: "TokenHandler", targets: ["TokenHandler"]), ], dependencies: [ .package(url: "https://github.com/pointfreeco/swift-tagged", from: "0.6.0"), @@ -30,7 +31,9 @@ let package = Package( .package(url: "https://github.com/pointfreeco/combine-schedulers", from: "0.5.3"), .package(url: "https://github.com/pointfreeco/swiftui-navigation", from: "0.1.0"), .package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "0.3.1"), + .package(url: "https://github.com/pointfreeco/swift-dependencies", from: "0.1.4"), .package(url: "https://github.com/nstack-io/nstack-ios-sdk", branch: "feature/spm-support"), + .package(url: "https://github.com/nodes-ios/MLTokenHandler-ios.git", from: "0.9.0"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. @@ -38,13 +41,18 @@ let package = Package( .target( name: "APIClient", dependencies: [ - "Model", .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"), + "Model", + .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"), + .product(name: "Dependencies", package: "swift-dependencies"), ], resources: [] ), .target( name: "APIClientLive", - dependencies: ["APIClient", "Model"], + dependencies: [ + "APIClient", "Model", + .product(name: "MLTokenHandler", package: "MLTokenHandler-ios"), + ], resources: [] ), .testTarget( @@ -66,7 +74,8 @@ let package = Package( .target( name: "AppVersion", dependencies: [ - .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay") + .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"), + .product(name: "Dependencies", package: "swift-dependencies"), ], resources: [] ), @@ -82,6 +91,7 @@ let package = Package( .product(name: "CombineSchedulers", package: "combine-schedulers"), "Localizations", "Model", "Style", .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"), + .product(name: "Dependencies", package: "swift-dependencies"), ], resources: [] ), @@ -92,7 +102,10 @@ let package = Package( ]), .target( name: "Localizations", - dependencies: [.product(name: "NStackSDK", package: "nstack-ios-sdk")], + dependencies: [ + .product(name: "NStackSDK", package: "nstack-ios-sdk"), + .product(name: "Dependencies", package: "swift-dependencies"), + ], exclude: [ "SKLocalizations.swift", "NStack/NStack.plist", @@ -125,14 +138,18 @@ let package = Package( .target( name: "NetworkClient", dependencies: [ - .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay") + .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"), + .product(name: "Dependencies", package: "swift-dependencies"), ], resources: [] ), .target( name: "PersistenceClient", - dependencies: ["Model"], + dependencies: [ + "Model", + .product(name: "Dependencies", package: "swift-dependencies"), + ], resources: [] ), @@ -141,6 +158,17 @@ let package = Package( dependencies: [ "Helpers", .product(name: "SwiftUINavigation", package: "swiftui-navigation"), ], - resources: [.process("Colors.xcassets"), .process("Fonts")]), + resources: [.process("Colors.xcassets"), .process("Fonts")] + ), +// .target( +// name: "TokenHandler", +// dependencies: [], +// resources: [] +// ), +// .testTarget( +// name: "TokenHandlerTests", +// dependencies: [ +// "TokenHandler", +// ]), ] ) diff --git a/Modules/Sources/APIClient/Client.swift b/Modules/Sources/APIClient/Client.swift index 36de75e..286eb01 100644 --- a/Modules/Sources/APIClient/Client.swift +++ b/Modules/Sources/APIClient/Client.swift @@ -13,34 +13,34 @@ import XCTestDynamicOverlay /// Interface for all network calls public struct APIClient { - public var authenticate: (Username, Password) -> AnyPublisher - public var refreshToken: (RefreshToken) -> AnyPublisher - public var setToken: (APITokens) -> Void + public var authenticate: (Username, Password) async throws -> APITokensEnvelope + public var fetchExampleProducts: () async throws -> [ExampleProduct] public var setBaseURL: (URL) -> Void public var currentBaseURL: () -> URL + public var tokensUpdateStream: () -> AsyncStream public init( - authenticate: @escaping (Username, Password) -> AnyPublisher, - refreshToken: @escaping (RefreshToken) -> AnyPublisher, - setToken: @escaping (APITokens) -> Void, + authenticate: @escaping (Username, Password) async throws -> APITokensEnvelope, + fetchExampleProducts: @escaping () async throws -> [ExampleProduct], setBaseURL: @escaping (URL) -> Void, - currentBaseURL: @escaping () -> URL + currentBaseURL: @escaping () -> URL, + tokensUpdateStream: @escaping () -> AsyncStream ) { self.authenticate = authenticate - self.refreshToken = refreshToken - self.setToken = setToken + self.fetchExampleProducts = fetchExampleProducts self.setBaseURL = setBaseURL self.currentBaseURL = currentBaseURL + self.tokensUpdateStream = tokensUpdateStream } } extension APIClient { - public static let failing = Self( - authenticate: { _, _ in .failing("\(Self.self).authenticate failing endpoint called") }, - refreshToken: { _ in .failing("\(Self.self).refreshToken failing endpoint called") }, - setToken: { _ in XCTFail("\(Self.self).setToken failing endpoint called") }, - setBaseURL: { _ in fatalError() }, - currentBaseURL: { fatalError() } + public static let failing = APIClient( + authenticate: unimplemented("authenticate failing endpoint called"), + fetchExampleProducts: unimplemented("fetchExampleProducts"), + setBaseURL: unimplemented("setBaseURL"), + currentBaseURL: unimplemented("currentBaseURL"), + tokensUpdateStream: unimplemented("tokensUpdateStream") ) } diff --git a/Modules/Sources/APIClient/DependencyKey.swift b/Modules/Sources/APIClient/DependencyKey.swift new file mode 100644 index 0000000..70f3748 --- /dev/null +++ b/Modules/Sources/APIClient/DependencyKey.swift @@ -0,0 +1,27 @@ +// +// File.swift +// +// +// Created by Jakob Mygind on 24/01/2023. +// + +import Dependencies +import Foundation + +extension APIClient: TestDependencyKey { + + public static var testValue: APIClient { + .failing + } + + public static var previewValue: APIClient { + .mock + } +} + +public extension DependencyValues { + var apiClient: APIClient { + get { self[APIClient.self] } + set { self[APIClient.self] = newValue } + } +} diff --git a/Modules/Sources/APIClient/Mocks.swift b/Modules/Sources/APIClient/Mocks.swift index c40a248..afe4928 100644 --- a/Modules/Sources/APIClient/Mocks.swift +++ b/Modules/Sources/APIClient/Mocks.swift @@ -11,10 +11,10 @@ import Model extension APIClient { public static let mock = Self( - authenticate: { _, _ in .init(value: .mock) }, - refreshToken: { _ in .init(value: .mock) }, - setToken: { _ in }, + authenticate: { _, _ in .mock }, + fetchExampleProducts: { .mocks(5) }, setBaseURL: { _ in }, - currentBaseURL: { URL.init(string: ":")! } + currentBaseURL: { URL(string: ":")! }, + tokensUpdateStream: { .init(unfolding: { .none }) } ) } diff --git a/Modules/Sources/APIClientLive/APIConvenience.swift b/Modules/Sources/APIClientLive/APIConvenience.swift new file mode 100644 index 0000000..ef81e2c --- /dev/null +++ b/Modules/Sources/APIClientLive/APIConvenience.swift @@ -0,0 +1,45 @@ +// +// File.swift +// +// +// Created by Jakob Mygind on 07/02/2023. +// + +import Foundation +import MLTokenHandler +import Model + +func performAuthenticatedRequest( + _ request: URLRequest, + using authHandler: AuthenticationHandlerAsync, + file: StaticString = #file, + line: UInt = #line, + jsonDecoder: JSONDecoder = { + let decoder = JSONDecoder() + let formatter = DateFormatter() + formatter.locale = Locale(identifier: "en_US_POSIX") + formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSS" + decoder.dateDecodingStrategy = .formatted(formatter) + return decoder + }() +) async throws -> Output { + do { + let (data, response) = try await authHandler.performAuthenticatedRequest(request) + do { + + let decoded = try jsonDecoder.decode(Output.self, from: data) + return decoded + } catch is DecodingError { + var decodedError = try jsonDecoder.decode(APIError.self, from: data) + if let code = (response as? HTTPURLResponse)?.statusCode { + decodedError.errorCode = "\(code)" + } + throw decodedError + } + } catch { + if let error = error as? APIError { + throw error + } + throw APIError(error: error, file: file, line: line) + } +} diff --git a/Modules/Sources/APIClientLive/AuthenticationHandler.swift b/Modules/Sources/APIClientLive/AuthenticationHandler.swift deleted file mode 100644 index cb0f6b2..0000000 --- a/Modules/Sources/APIClientLive/AuthenticationHandler.swift +++ /dev/null @@ -1,184 +0,0 @@ -// -// File.swift -// -// -// Created by Jakob Mygind on 15/12/2021. -// - -import Combine -import Foundation -import Model - -/// This class is used to authenticate all requests, and if needed refresh the tokens -/// The state of tokens can be monitored by subscribing to `tokenUpdatePublisher`, if this outouts nil, it means the user should log in again -public class AuthenticationHandler { - - public let tokenUpdatePublisher: CurrentValueSubject - var now: () -> Date = Date.init - var networkRequestPublisher: - (URLRequest) -> AnyPublisher< - URLSession.DataTaskPublisher.Output, URLSession.DataTaskPublisher.Failure - > = { - URLSession.shared.dataTaskPublisher(for: $0).eraseToAnyPublisher() - } - private let queue = DispatchQueue(label: "Authenticator.\(UUID().uuidString)") - private(set) var refreshPublisher: PassthroughSubject? - - private var refreshURL: URL - var apiTokens: APITokens? { - didSet { - if let apiTokens = apiTokens { - refreshPublisher?.send(apiTokens) - } else { - refreshPublisher?.send(completion: .finished) - } - tokenUpdatePublisher.send(apiTokens) - } - } - - public init( - refreshURL: URL, - tokens: APITokens? - ) { - self.apiTokens = tokens - self.tokenUpdatePublisher = CurrentValueSubject(tokens) - self.refreshURL = refreshURL - } - - #if DEBUG - init( - - now: @escaping () -> Date = Date.init, - networkRequestPublisher: @escaping (URLRequest) -> AnyPublisher< - URLSession.DataTaskPublisher.Output, URLSession.DataTaskPublisher.Failure - > = { - URLSession.shared.dataTaskPublisher(for: $0).eraseToAnyPublisher() - }, - refreshPublisher: PassthroughSubject? = nil, - refreshURL: URL, - apiTokens: APITokens? = nil - ) { - self.tokenUpdatePublisher = CurrentValueSubject(apiTokens) - self.now = now - self.networkRequestPublisher = networkRequestPublisher - self.refreshPublisher = refreshPublisher - self.refreshURL = refreshURL - self.apiTokens = apiTokens - } - - #endif - - /// Authenticates URLRequests - /// - Parameter request: Requests to be authenticated - /// - Returns: The result of the request - public func authenticateRequest(_ request: URLRequest) -> AnyPublisher< - URLSession.DataTaskPublisher.Output, Error - > { - return queue.sync { - - guard let apiTokens = apiTokens else { - return Fail(error: URLError(.userAuthenticationRequired)).eraseToAnyPublisher() - } - - if let tokenSubject = refreshPublisher { - return - tokenSubject - .flatMap { [unowned self] in - makeAuthenticatedRequest(request, accessToken: $0.token) - }.eraseToAnyPublisher() - } - - if !apiTokens.token.isValid(now: now()) { - self.refreshPublisher = .init() - return self.refreshTokens(using: apiTokens.refreshToken.token) - .handleEvents( - receiveOutput: { self.apiTokens = $0 }, - receiveCompletion: { _ in - self.refreshPublisher = nil - } - ) - .map(\.token) - .flatMap { [unowned self] in makeAuthenticatedRequest(request, accessToken: $0) - } - .tryCatch { - [unowned self] (error: Error) throws -> AnyPublisher< - URLSession.DataTaskPublisher.Output, Error - > in - if let urlError = error as? URLError, - urlError == URLError(.userAuthenticationRequired) - { - self.apiTokens = nil - return Empty(completeImmediately: true).eraseToAnyPublisher() - } else { - throw error - } - } - .eraseToAnyPublisher() - } - - return makeAuthenticatedRequest(request, accessToken: apiTokens.token) - } - } - - /// Adds access token to request - /// throws auth error if provided token should be invalid - private func makeAuthenticatedRequest( - _ request: URLRequest, - accessToken: AccessToken - ) -> AnyPublisher { - var request = request - request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization") - return networkRequestPublisher(request) - .tryMap { - if let code = ($0.1 as? HTTPURLResponse)?.statusCode, - code == 401 - { - throw URLError(.userAuthenticationRequired) - } else { - return $0 - } - } - .mapError { $0 as Error } - .eraseToAnyPublisher() - } - - /// Make call to refresh access token - /// - Parameter refreshToken: refreshtoken to be used - /// - Returns: A fresh set of tokens - private func refreshTokens(using refreshToken: RefreshToken) -> AnyPublisher { - struct Body: Encodable { - let token: String - } - - let decoder = JSONDecoder() - let formatter = DateFormatter() - formatter.locale = Locale(identifier: "en_US_POSIX") - formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSSZ" - decoder.dateDecodingStrategy = .formatted(formatter) - - return makePostRequest(url: refreshURL, requestBody: Body(token: refreshToken.rawValue)) - .publisher - .flatMap(networkRequestPublisher) - .tryMap { - if let code = ($0.1 as? HTTPURLResponse)?.statusCode, - code == 401 - { - throw URLError(.userAuthenticationRequired) - } else { - return $0.data - } - } - .decode(type: APITokens.self, decoder: decoder) - .eraseToAnyPublisher() - } -} - -#if !RELEASE - extension AccessToken { - /// A token with expiry some time in December afair - public static let expired = AccessToken( - rawValue: - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiMyIsInRva2VuVHlwZSI6Ik1lcmNoYW50IiwibmJmIjoxNjM5NTg0OTUyLCJleHAiOjE2Mzk1ODYxNTIsImlhdCI6MTYzOTU4NDk1Mn0.X2w58Hk8Wtct3-PHYqPLGmCsUgrPuLcp9-hw98E4ZCM" - ) - } -#endif diff --git a/Modules/Sources/APIClientLive/Client.swift b/Modules/Sources/APIClientLive/Client.swift index aaff235..2f29475 100644 --- a/Modules/Sources/APIClientLive/Client.swift +++ b/Modules/Sources/APIClientLive/Client.swift @@ -9,49 +9,34 @@ import APIClient import Combine import Foundation import Model +import MLTokenHandler +import XCTestDynamicOverlay extension APIClient { - /// APIClient that hits the network - /// - Parameters: - /// - url: base url to be used - /// - authenticationHandler: AuthenticationHandler type - /// - Returns: Live APIclient - public static func live( - baseURL url: URL, - authenticationHandler: AuthenticationHandler - ) -> Self { - var baseURL = url - - return Self( - authenticate: { username, password in - fatalError() -// struct Body: Encodable { -// let username: String -// let password: String -// } -// -// let decoder = JSONDecoder() -// let formatter = DateFormatter() -// formatter.locale = Locale(identifier: "en_US_POSIX") -// formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSSZ" -// decoder.dateDecodingStrategy = .formatted(formatter) -// -// return makePostRequest( -// url: baseURL.appendingPathComponent("authenticate"), -// requestBody: Body(username: username.rawValue, password: password.rawValue) -// ) -// .publisher -// .flatMap(URLSession.shared.dataTaskPublisher(for:)) -// .apiDecode(as: APITokens.self, jsonDecoder: decoder) -// .eraseToAnyPublisher() - }, - refreshToken: { _ in fatalError("Manually refreshing should not be necessary") }, - setToken: { - authenticationHandler.apiTokens = $0 - }, - setBaseURL: { baseURL = $0 }, - currentBaseURL: { baseURL } + /// APIClient that hits the network + /// - Parameters: + /// - url: base url to be used + /// - authenticationHandler: AuthenticationHandler type + /// - Returns: Live APIclient + public static func live( + baseURL url: URL, + authenticationHandler: AuthenticationHandlerAsync, + tokensUpdateStream: AsyncStream + ) -> Self { + var baseURL = url + let tokensUpdateStream = tokensUpdateStream + return Self( + authenticate: unimplemented(), + fetchExampleProducts: { + try await performAuthenticatedRequest( + makeGetRequest(url: baseURL.appendingPathComponent("products")), + using: authenticationHandler ) - } + }, + setBaseURL: { baseURL = $0 }, + currentBaseURL: { baseURL }, + tokensUpdateStream: { tokensUpdateStream } + ) + } } diff --git a/Modules/Sources/APIClientLive/RequestBuilders.swift b/Modules/Sources/APIClientLive/RequestBuilders.swift index f609c56..f4ff98c 100644 --- a/Modules/Sources/APIClientLive/RequestBuilders.swift +++ b/Modules/Sources/APIClientLive/RequestBuilders.swift @@ -7,10 +7,11 @@ import Combine import Foundation import Model +import MLTokenHandler /// Type erasing wrapper used bc enum cases cannot be generic struct AnyEncodable: Encodable { - let wrapped: Encodable + let wrapped: any Encodable public init(_ input: Input) { self.wrapped = input } @@ -20,14 +21,6 @@ struct AnyEncodable: Encodable { } } -extension URLRequest { - func authenticateAndPerform(using handler: AuthenticationHandler) -> AnyPublisher< - URLSession.DataTaskPublisher.Output, Error - > { - handler.authenticateRequest(self) - } -} - func apiRequest(_ method: Method) -> URLRequest { var request: URLRequest diff --git a/Modules/Sources/AppFeature/AppEnvironment.swift b/Modules/Sources/AppFeature/AppEnvironment.swift deleted file mode 100644 index 36341e0..0000000 --- a/Modules/Sources/AppFeature/AppEnvironment.swift +++ /dev/null @@ -1,84 +0,0 @@ -// -// File.swift -// -// -// Created by Jakob Mygind on 20/12/2021. -// - -import APIClient -import AppVersion -import Combine -import CombineSchedulers -import Localizations -import Model -import NetworkClient -import PersistenceClient -import XCTestDynamicOverlay - -/// All encompassing environment -public struct AppEnvironment { - - var mainQueue: AnySchedulerOf - var apiClient: APIClient - var date: () -> Date - var calendar: Calendar - var localizations: ObservableLocalizations - var appVersion: AppVersion - var persistenceClient: PersistenceClient - var tokenUpdatePublisher: AnyPublisher - var networkMonitor: NetworkClient - - public init( - mainQueue: AnySchedulerOf, - apiClient: APIClient, - date: @escaping () -> Date, - calendar: Calendar, - localizations: ObservableLocalizations, - appVersion: AppVersion, - persistenceClient: PersistenceClient, - tokenUpdatePublisher: AnyPublisher, - networkMonitor: NetworkClient - ) { - self.mainQueue = mainQueue - self.apiClient = apiClient - self.date = date - self.calendar = calendar - self.localizations = localizations - self.appVersion = appVersion - self.persistenceClient = persistenceClient - self.tokenUpdatePublisher = tokenUpdatePublisher - self.networkMonitor = networkMonitor - } -} - -extension AppEnvironment { - - public static let mock = Self( - mainQueue: DispatchQueue.main.eraseToAnyScheduler(), - apiClient: .mock, - date: Date.init, - calendar: .init(identifier: .gregorian), - localizations: .init(.bundled), - appVersion: .noop, - persistenceClient: .mock, - tokenUpdatePublisher: Empty(completeImmediately: false).eraseToAnyPublisher(), - networkMonitor: .happy - ) - - #if DEBUG - static let failing = Self( - mainQueue: .failing, - apiClient: .failing, - date: { - XCTFail("Not implemented") - return Date() - }, - calendar: .init(identifier: .gregorian), - localizations: .init(.bundled), - appVersion: .failing, - persistenceClient: .failing, - tokenUpdatePublisher: .failing(), - networkMonitor: .failing - ) - #endif -} diff --git a/Modules/Sources/AppFeature/AppView.swift b/Modules/Sources/AppFeature/AppView.swift index bc03792..bb0741b 100644 --- a/Modules/Sources/AppFeature/AppView.swift +++ b/Modules/Sources/AppFeature/AppView.swift @@ -14,11 +14,11 @@ import SwiftUINavigation /// View that can switch between Login and Main view public struct AppView: View { @ObservedObject var viewModel: AppViewModel - + public init(viewModel: AppViewModel) { self.viewModel = viewModel } - + public var body: some View { IfLet($viewModel.route) { $route in Switch($route) { @@ -50,54 +50,42 @@ public struct AppView: View { } else: { ProgressView() } - // .onAppear(perform: viewModel.onAppear) + .onAppear(perform: viewModel.onAppear) } } #if DEBUG - import Localizations - - struct AppView_Previews: PreviewProvider { - static var localizations: ObservableLocalizations = .init(.bundled) +import Localizations - static var previews: some View { - AppView(viewModel: .init(environment: .mock)) - .previewDisplayName("No Route") - - AppView( - viewModel: .init( - environment: .mock, - route: .main( - .init(environment: .init(mainQueue: .immediate))) +struct AppView_Previews: PreviewProvider { + static var localizations: ObservableLocalizations = .init(.bundled) + + static var previews: some View { + AppView(viewModel: .init()) + .previewDisplayName("No Route") + + AppView( + viewModel: .init( + route: .main( + .init() ) ) - .registerFonts() - .environmentObject(ObservableLocalizations.init(.bundled)) - .previewDisplayName("Main") - - let environment: AppEnvironment = .mock - AppView( - viewModel: .init( - environment: environment, - route: .login( - .init( - onSuccess: { _, _ in }, - environment: - LoginEnvironment( - mainQueue: environment.mainQueue, - apiClient: environment.apiClient, - date: environment.date, - calendar: environment.calendar, - localizations: environment.localizations, - appVersion: environment.appVersion - ) - ) - ) + ) + .registerFonts() + .environmentObject(ObservableLocalizations.bundled) + .previewDisplayName("Main") + + AppView( + viewModel: .init(route: .login( + .init( + onSuccess: { _, _ in } ) ) - .registerFonts() - .environmentObject(ObservableLocalizations.init(.bundled)) - .previewDisplayName("Login") - } + ) + ) + .registerFonts() + .environmentObject(ObservableLocalizations.bundled) + .previewDisplayName("Login") } +} #endif diff --git a/Modules/Sources/AppFeature/AppViewModel.swift b/Modules/Sources/AppFeature/AppViewModel.swift index 3ada035..633adc4 100644 --- a/Modules/Sources/AppFeature/AppViewModel.swift +++ b/Modules/Sources/AppFeature/AppViewModel.swift @@ -6,20 +6,24 @@ // import Combine +import Dependencies import LoginFeature import MainFeature +import Model +import PersistenceClient import SwiftUI public class AppViewModel: ObservableObject { - var environment: AppEnvironment - var cancellables: Set = [] - public enum Route { case login(LoginViewModel) case main(MainViewModel) } @Published var route: Route? + + @Dependency(\.apiClient) var apiClient + @Dependency(\.persistenceClient) var persistenceClient + @Dependency(\.date) var date enum BannerState { case offline(String) @@ -29,27 +33,23 @@ public class AppViewModel: ObservableObject { @Published var bannerState: BannerState? public init( - environment: AppEnvironment, route: AppViewModel.Route? = nil ) { - self.environment = environment self.route = route - environment.tokenUpdatePublisher - .dropFirst() - .filter { $0 == nil } - .removeDuplicates() - .sink { [unowned self] _ in - showLogin() + + Task { + for await token in apiClient.tokensUpdateStream() { + if token == nil { + showLogin() + } } - .store(in: &cancellables) - - + } } func onAppear() { if - let tokens = environment.persistenceClient.tokens.load(), - tokens.refreshToken.expiresAt > environment.date() { + let tokens = persistenceClient.tokens.load(), + tokens.refreshToken.expiresAt > date() { showMain() } else { showLogin() @@ -61,26 +61,19 @@ public class AppViewModel: ObservableObject { route = .login( .init( onSuccess: { [unowned self] in - environment.persistenceClient.tokens.save($0) - environment.apiClient.setToken($0) - environment.persistenceClient.email.save($1) + persistenceClient.tokens.save($0) + persistenceClient.email.save($1) withAnimation { showMain() } - }, - environment: LoginEnvironment( - mainQueue: environment.mainQueue, - apiClient: environment.apiClient, - date: environment.date, - calendar: environment.calendar, - localizations: environment.localizations, - appVersion: environment.appVersion - ))) + } + ) + ) } func showMain() { route = .main( - .init(environment: .init(mainQueue: environment.mainQueue)) + .init() ) } } diff --git a/Modules/Sources/AppVersion/DependencyKey.swift b/Modules/Sources/AppVersion/DependencyKey.swift new file mode 100644 index 0000000..81c9be9 --- /dev/null +++ b/Modules/Sources/AppVersion/DependencyKey.swift @@ -0,0 +1,26 @@ +// +// File.swift +// +// +// Created by Jakob Mygind on 01/02/2023. +// + +import Dependencies +import Foundation + +extension AppVersion: TestDependencyKey { + public static var testValue: AppVersion { + .failing + } + + public static var previewValue: AppVersion { + .mock + } +} + +extension DependencyValues { + public var appVersion: AppVersion { + get { self[AppVersion.self] } + set { self[AppVersion.self] = newValue } + } +} diff --git a/Modules/Sources/AppVersion/Version.swift b/Modules/Sources/AppVersion/Version.swift index a35375c..f92bda4 100644 --- a/Modules/Sources/AppVersion/Version.swift +++ b/Modules/Sources/AppVersion/Version.swift @@ -25,25 +25,29 @@ public struct AppVersion { build: { Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "" } ) + public static let mock = Self( + version: { "1.2.3" }, + build: { "4" } + ) + public static let noop = Self( version: { "0.0.0" }, build: { "0" } ) } -#if DEBUG - import XCTestDynamicOverlay - - extension AppVersion { - public static let failing = Self( - version: { - XCTFail("\(Self.self).version is unimplemented") - return "" - }, - build: { - XCTFail("\(Self.self).build is unimplemented") - return "" - } - ) - } -#endif + +import XCTestDynamicOverlay + +extension AppVersion { + public static let failing = Self( + version: { + XCTFail("\(Self.self).version is unimplemented") + return "" + }, + build: { + XCTFail("\(Self.self).build is unimplemented") + return "" + } + ) +} diff --git a/Modules/Sources/Localizations/DependencyKey.swift b/Modules/Sources/Localizations/DependencyKey.swift new file mode 100644 index 0000000..69950a6 --- /dev/null +++ b/Modules/Sources/Localizations/DependencyKey.swift @@ -0,0 +1,22 @@ +// +// File.swift +// +// +// Created by Jakob Mygind on 30/01/2023. +// + +import Dependencies +import Foundation + +extension ObservableLocalizations: TestDependencyKey { + public static var testValue: ObservableLocalizations { + .bundled + } +} + +public extension DependencyValues { + var localizations: ObservableLocalizations { + get { self[ObservableLocalizations.self] } + set { self[ObservableLocalizations.self] = newValue } + } +} diff --git a/Modules/Sources/Localizations/Localizations.swift b/Modules/Sources/Localizations/Localizations.swift index 7f10303..d687dc5 100644 --- a/Modules/Sources/Localizations/Localizations.swift +++ b/Modules/Sources/Localizations/Localizations.swift @@ -33,34 +33,34 @@ import NLocalizationManager import LocalizationManager #endif public final class Localizations: LocalizableModel { + public var dashboard = Dashboard() + public var deliveryType = DeliveryType() + public var error = Error() public var settings = Settings() public var units = Units() - public var printer = Printer() - public var dashboard = Dashboard() public var login = Login() - public var searchOrders = SearchOrders() - public var orderStatus = OrderStatus() + public var printerOutput = PrinterOutput() public var orderDetails = OrderDetails() public var orderDetailNewOrderSection = OrderDetailNewOrderSection() - public var deliveryType = DeliveryType() public var defaultSection = DefaultSection() - public var printerOutput = PrinterOutput() - public var error = Error() + public var printer = Printer() + public var orderStatus = OrderStatus() + public var searchOrders = SearchOrders() enum CodingKeys: String, CodingKey { + case dashboard + case deliveryType + case error case settings case units - case printer - case dashboard case login - case searchOrders - case orderStatus + case printerOutput case orderDetails case orderDetailNewOrderSection - case deliveryType case defaultSection = "default" - case printerOutput - case error + case printer + case orderStatus + case searchOrders } public override init() { super.init() } @@ -68,65 +68,75 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) + dashboard = try container.decodeIfPresent(Dashboard.self, forKey: .dashboard) ?? dashboard + deliveryType = try container.decodeIfPresent(DeliveryType.self, forKey: .deliveryType) ?? deliveryType + error = try container.decodeIfPresent(Error.self, forKey: .error) ?? error settings = try container.decodeIfPresent(Settings.self, forKey: .settings) ?? settings units = try container.decodeIfPresent(Units.self, forKey: .units) ?? units - printer = try container.decodeIfPresent(Printer.self, forKey: .printer) ?? printer - dashboard = try container.decodeIfPresent(Dashboard.self, forKey: .dashboard) ?? dashboard login = try container.decodeIfPresent(Login.self, forKey: .login) ?? login - searchOrders = try container.decodeIfPresent(SearchOrders.self, forKey: .searchOrders) ?? searchOrders - orderStatus = try container.decodeIfPresent(OrderStatus.self, forKey: .orderStatus) ?? orderStatus + printerOutput = try container.decodeIfPresent(PrinterOutput.self, forKey: .printerOutput) ?? printerOutput orderDetails = try container.decodeIfPresent(OrderDetails.self, forKey: .orderDetails) ?? orderDetails orderDetailNewOrderSection = try container.decodeIfPresent(OrderDetailNewOrderSection.self, forKey: .orderDetailNewOrderSection) ?? orderDetailNewOrderSection - deliveryType = try container.decodeIfPresent(DeliveryType.self, forKey: .deliveryType) ?? deliveryType defaultSection = try container.decodeIfPresent(DefaultSection.self, forKey: .defaultSection) ?? defaultSection - printerOutput = try container.decodeIfPresent(PrinterOutput.self, forKey: .printerOutput) ?? printerOutput - error = try container.decodeIfPresent(Error.self, forKey: .error) ?? error + printer = try container.decodeIfPresent(Printer.self, forKey: .printer) ?? printer + orderStatus = try container.decodeIfPresent(OrderStatus.self, forKey: .orderStatus) ?? orderStatus + searchOrders = try container.decodeIfPresent(SearchOrders.self, forKey: .searchOrders) ?? searchOrders } public override subscript(key: String) -> LocalizableSection? { switch key { + case CodingKeys.dashboard.stringValue: return dashboard + case CodingKeys.deliveryType.stringValue: return deliveryType + case CodingKeys.error.stringValue: return error case CodingKeys.settings.stringValue: return settings case CodingKeys.units.stringValue: return units - case CodingKeys.printer.stringValue: return printer - case CodingKeys.dashboard.stringValue: return dashboard case CodingKeys.login.stringValue: return login - case CodingKeys.searchOrders.stringValue: return searchOrders - case CodingKeys.orderStatus.stringValue: return orderStatus + case CodingKeys.printerOutput.stringValue: return printerOutput case CodingKeys.orderDetails.stringValue: return orderDetails case CodingKeys.orderDetailNewOrderSection.stringValue: return orderDetailNewOrderSection - case CodingKeys.deliveryType.stringValue: return deliveryType case CodingKeys.defaultSection.stringValue: return defaultSection - case CodingKeys.printerOutput.stringValue: return printerOutput - case CodingKeys.error.stringValue: return error + case CodingKeys.printer.stringValue: return printer + case CodingKeys.orderStatus.stringValue: return orderStatus + case CodingKeys.searchOrders.stringValue: return searchOrders default: return nil } } - public final class Settings: LocalizableSection { - public var printerHeader = "" - public var title = "" - public var logOutAlertMessage = "" - public var usernameHeader = "" - public var appVersionHeader = "" - public var selectPrinterButton = "" - public var closeButton = "" - public var logOutAlertConfirm = "" - public var logOutAlertCancel = "" - public var logoutAlertTitle = "" - public var logOutButton = "" + public final class Dashboard: LocalizableSection { + public var itemsPlural = "" + public var columnIncoming = "" + public var columnAccepted = "" + public var sectionToday = "" + public var columnAcceptedEmpty = "" + public var columnDoneToday = "" + public var allOrdersButton = "" + public var columnReady = "" + public var columnIncomingEmpty = "" + public var columnOutForDeliveryEmpty = "" + public var sectionLater = "" + public var itemsSingular = "" + public var columnDoneTodayEmpty = "" + public var columnReadyEmpty = "" + public var columnOutForDelivery = "" + public var sectionTomorrow = "" enum CodingKeys: String, CodingKey { - case printerHeader - case title - case logOutAlertMessage - case usernameHeader - case appVersionHeader - case selectPrinterButton - case closeButton - case logOutAlertConfirm - case logOutAlertCancel - case logoutAlertTitle - case logOutButton + case itemsPlural + case columnIncoming + case columnAccepted + case sectionToday + case columnAcceptedEmpty + case columnDoneToday + case allOrdersButton + case columnReady + case columnIncomingEmpty + case columnOutForDeliveryEmpty + case sectionLater + case itemsSingular + case columnDoneTodayEmpty + case columnReadyEmpty + case columnOutForDelivery + case sectionTomorrow } public override init() { super.init() } @@ -134,60 +144,54 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - printerHeader = try container.decodeIfPresent(String.self, forKey: .printerHeader) ?? "__printerHeader" - title = try container.decodeIfPresent(String.self, forKey: .title) ?? "__title" - logOutAlertMessage = try container.decodeIfPresent(String.self, forKey: .logOutAlertMessage) ?? "__logOutAlertMessage" - usernameHeader = try container.decodeIfPresent(String.self, forKey: .usernameHeader) ?? "__usernameHeader" - appVersionHeader = try container.decodeIfPresent(String.self, forKey: .appVersionHeader) ?? "__appVersionHeader" - selectPrinterButton = try container.decodeIfPresent(String.self, forKey: .selectPrinterButton) ?? "__selectPrinterButton" - closeButton = try container.decodeIfPresent(String.self, forKey: .closeButton) ?? "__closeButton" - logOutAlertConfirm = try container.decodeIfPresent(String.self, forKey: .logOutAlertConfirm) ?? "__logOutAlertConfirm" - logOutAlertCancel = try container.decodeIfPresent(String.self, forKey: .logOutAlertCancel) ?? "__logOutAlertCancel" - logoutAlertTitle = try container.decodeIfPresent(String.self, forKey: .logoutAlertTitle) ?? "__logoutAlertTitle" - logOutButton = try container.decodeIfPresent(String.self, forKey: .logOutButton) ?? "__logOutButton" + itemsPlural = try container.decodeIfPresent(String.self, forKey: .itemsPlural) ?? "__itemsPlural" + columnIncoming = try container.decodeIfPresent(String.self, forKey: .columnIncoming) ?? "__columnIncoming" + columnAccepted = try container.decodeIfPresent(String.self, forKey: .columnAccepted) ?? "__columnAccepted" + sectionToday = try container.decodeIfPresent(String.self, forKey: .sectionToday) ?? "__sectionToday" + columnAcceptedEmpty = try container.decodeIfPresent(String.self, forKey: .columnAcceptedEmpty) ?? "__columnAcceptedEmpty" + columnDoneToday = try container.decodeIfPresent(String.self, forKey: .columnDoneToday) ?? "__columnDoneToday" + allOrdersButton = try container.decodeIfPresent(String.self, forKey: .allOrdersButton) ?? "__allOrdersButton" + columnReady = try container.decodeIfPresent(String.self, forKey: .columnReady) ?? "__columnReady" + columnIncomingEmpty = try container.decodeIfPresent(String.self, forKey: .columnIncomingEmpty) ?? "__columnIncomingEmpty" + columnOutForDeliveryEmpty = try container.decodeIfPresent(String.self, forKey: .columnOutForDeliveryEmpty) ?? "__columnOutForDeliveryEmpty" + sectionLater = try container.decodeIfPresent(String.self, forKey: .sectionLater) ?? "__sectionLater" + itemsSingular = try container.decodeIfPresent(String.self, forKey: .itemsSingular) ?? "__itemsSingular" + columnDoneTodayEmpty = try container.decodeIfPresent(String.self, forKey: .columnDoneTodayEmpty) ?? "__columnDoneTodayEmpty" + columnReadyEmpty = try container.decodeIfPresent(String.self, forKey: .columnReadyEmpty) ?? "__columnReadyEmpty" + columnOutForDelivery = try container.decodeIfPresent(String.self, forKey: .columnOutForDelivery) ?? "__columnOutForDelivery" + sectionTomorrow = try container.decodeIfPresent(String.self, forKey: .sectionTomorrow) ?? "__sectionTomorrow" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.printerHeader.stringValue: return printerHeader - case CodingKeys.title.stringValue: return title - case CodingKeys.logOutAlertMessage.stringValue: return logOutAlertMessage - case CodingKeys.usernameHeader.stringValue: return usernameHeader - case CodingKeys.appVersionHeader.stringValue: return appVersionHeader - case CodingKeys.selectPrinterButton.stringValue: return selectPrinterButton - case CodingKeys.closeButton.stringValue: return closeButton - case CodingKeys.logOutAlertConfirm.stringValue: return logOutAlertConfirm - case CodingKeys.logOutAlertCancel.stringValue: return logOutAlertCancel - case CodingKeys.logoutAlertTitle.stringValue: return logoutAlertTitle - case CodingKeys.logOutButton.stringValue: return logOutButton + case CodingKeys.itemsPlural.stringValue: return itemsPlural + case CodingKeys.columnIncoming.stringValue: return columnIncoming + case CodingKeys.columnAccepted.stringValue: return columnAccepted + case CodingKeys.sectionToday.stringValue: return sectionToday + case CodingKeys.columnAcceptedEmpty.stringValue: return columnAcceptedEmpty + case CodingKeys.columnDoneToday.stringValue: return columnDoneToday + case CodingKeys.allOrdersButton.stringValue: return allOrdersButton + case CodingKeys.columnReady.stringValue: return columnReady + case CodingKeys.columnIncomingEmpty.stringValue: return columnIncomingEmpty + case CodingKeys.columnOutForDeliveryEmpty.stringValue: return columnOutForDeliveryEmpty + case CodingKeys.sectionLater.stringValue: return sectionLater + case CodingKeys.itemsSingular.stringValue: return itemsSingular + case CodingKeys.columnDoneTodayEmpty.stringValue: return columnDoneTodayEmpty + case CodingKeys.columnReadyEmpty.stringValue: return columnReadyEmpty + case CodingKeys.columnOutForDelivery.stringValue: return columnOutForDelivery + case CodingKeys.sectionTomorrow.stringValue: return sectionTomorrow default: return nil } } } - public final class Units: LocalizableSection { - public var d70 = "" - public var grm = "" - public var kgm = "" - public var e14 = "" - public var dlt = "" - public var h87 = "" - public var mlt = "" - public var ltr = "" - public var clt = "" - public var cmt = "" + public final class DeliveryType: LocalizableSection { + public var collect = "" + public var delivery = "" enum CodingKeys: String, CodingKey { - case d70 - case grm - case kgm - case e14 - case dlt - case h87 - case mlt - case ltr - case clt - case cmt + case collect + case delivery } public override init() { super.init() } @@ -195,54 +199,32 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - d70 = try container.decodeIfPresent(String.self, forKey: .d70) ?? "__d70" - grm = try container.decodeIfPresent(String.self, forKey: .grm) ?? "__grm" - kgm = try container.decodeIfPresent(String.self, forKey: .kgm) ?? "__kgm" - e14 = try container.decodeIfPresent(String.self, forKey: .e14) ?? "__e14" - dlt = try container.decodeIfPresent(String.self, forKey: .dlt) ?? "__dlt" - h87 = try container.decodeIfPresent(String.self, forKey: .h87) ?? "__h87" - mlt = try container.decodeIfPresent(String.self, forKey: .mlt) ?? "__mlt" - ltr = try container.decodeIfPresent(String.self, forKey: .ltr) ?? "__ltr" - clt = try container.decodeIfPresent(String.self, forKey: .clt) ?? "__clt" - cmt = try container.decodeIfPresent(String.self, forKey: .cmt) ?? "__cmt" + collect = try container.decodeIfPresent(String.self, forKey: .collect) ?? "__collect" + delivery = try container.decodeIfPresent(String.self, forKey: .delivery) ?? "__delivery" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.d70.stringValue: return d70 - case CodingKeys.grm.stringValue: return grm - case CodingKeys.kgm.stringValue: return kgm - case CodingKeys.e14.stringValue: return e14 - case CodingKeys.dlt.stringValue: return dlt - case CodingKeys.h87.stringValue: return h87 - case CodingKeys.mlt.stringValue: return mlt - case CodingKeys.ltr.stringValue: return ltr - case CodingKeys.clt.stringValue: return clt - case CodingKeys.cmt.stringValue: return cmt + case CodingKeys.collect.stringValue: return collect + case CodingKeys.delivery.stringValue: return delivery default: return nil } } } - public final class Printer: LocalizableSection { - public var title = "" - public var connectButton = "" - public var sectionHeaderNewPrinters = "" - public var errorSomethingHappened = "" - public var connectedSuccessMessage = "" - public var bluetoothHintFooter = "" - public var deleteButton = "" - public var sectionHeaderActivePrinter = "" + public final class Error: LocalizableSection { + public var connectionError = "" + public var unknownError = "" + public var serverError = "" + public var errorTitle = "" + public var authenticationError = "" enum CodingKeys: String, CodingKey { - case title - case connectButton - case sectionHeaderNewPrinters - case errorSomethingHappened - case connectedSuccessMessage - case bluetoothHintFooter - case deleteButton - case sectionHeaderActivePrinter + case connectionError + case unknownError + case serverError + case errorTitle + case authenticationError } public override init() { super.init() } @@ -250,66 +232,50 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - title = try container.decodeIfPresent(String.self, forKey: .title) ?? "__title" - connectButton = try container.decodeIfPresent(String.self, forKey: .connectButton) ?? "__connectButton" - sectionHeaderNewPrinters = try container.decodeIfPresent(String.self, forKey: .sectionHeaderNewPrinters) ?? "__sectionHeaderNewPrinters" - errorSomethingHappened = try container.decodeIfPresent(String.self, forKey: .errorSomethingHappened) ?? "__errorSomethingHappened" - connectedSuccessMessage = try container.decodeIfPresent(String.self, forKey: .connectedSuccessMessage) ?? "__connectedSuccessMessage" - bluetoothHintFooter = try container.decodeIfPresent(String.self, forKey: .bluetoothHintFooter) ?? "__bluetoothHintFooter" - deleteButton = try container.decodeIfPresent(String.self, forKey: .deleteButton) ?? "__deleteButton" - sectionHeaderActivePrinter = try container.decodeIfPresent(String.self, forKey: .sectionHeaderActivePrinter) ?? "__sectionHeaderActivePrinter" - } - - public override subscript(key: String) -> String? { - switch key { - case CodingKeys.title.stringValue: return title - case CodingKeys.connectButton.stringValue: return connectButton - case CodingKeys.sectionHeaderNewPrinters.stringValue: return sectionHeaderNewPrinters - case CodingKeys.errorSomethingHappened.stringValue: return errorSomethingHappened - case CodingKeys.connectedSuccessMessage.stringValue: return connectedSuccessMessage - case CodingKeys.bluetoothHintFooter.stringValue: return bluetoothHintFooter - case CodingKeys.deleteButton.stringValue: return deleteButton - case CodingKeys.sectionHeaderActivePrinter.stringValue: return sectionHeaderActivePrinter + connectionError = try container.decodeIfPresent(String.self, forKey: .connectionError) ?? "__connectionError" + unknownError = try container.decodeIfPresent(String.self, forKey: .unknownError) ?? "__unknownError" + serverError = try container.decodeIfPresent(String.self, forKey: .serverError) ?? "__serverError" + errorTitle = try container.decodeIfPresent(String.self, forKey: .errorTitle) ?? "__errorTitle" + authenticationError = try container.decodeIfPresent(String.self, forKey: .authenticationError) ?? "__authenticationError" + } + + public override subscript(key: String) -> String? { + switch key { + case CodingKeys.connectionError.stringValue: return connectionError + case CodingKeys.unknownError.stringValue: return unknownError + case CodingKeys.serverError.stringValue: return serverError + case CodingKeys.errorTitle.stringValue: return errorTitle + case CodingKeys.authenticationError.stringValue: return authenticationError default: return nil } } } - public final class Dashboard: LocalizableSection { - public var columnAcceptedEmpty = "" - public var sectionLater = "" - public var allOrdersButton = "" - public var sectionToday = "" - public var columnDoneTodayEmpty = "" - public var columnDoneToday = "" - public var columnIncomingEmpty = "" - public var columnAccepted = "" - public var columnReady = "" - public var itemsSingular = "" - public var columnOutForDeliveryEmpty = "" - public var columnIncoming = "" - public var itemsPlural = "" - public var columnOutForDelivery = "" - public var columnReadyEmpty = "" - public var sectionTomorrow = "" + public final class Settings: LocalizableSection { + public var title = "" + public var logOutButton = "" + public var usernameHeader = "" + public var logOutAlertCancel = "" + public var logOutAlertConfirm = "" + public var printerHeader = "" + public var closeButton = "" + public var appVersionHeader = "" + public var logoutAlertTitle = "" + public var selectPrinterButton = "" + public var logOutAlertMessage = "" enum CodingKeys: String, CodingKey { - case columnAcceptedEmpty - case sectionLater - case allOrdersButton - case sectionToday - case columnDoneTodayEmpty - case columnDoneToday - case columnIncomingEmpty - case columnAccepted - case columnReady - case itemsSingular - case columnOutForDeliveryEmpty - case columnIncoming - case itemsPlural - case columnOutForDelivery - case columnReadyEmpty - case sectionTomorrow + case title + case logOutButton + case usernameHeader + case logOutAlertCancel + case logOutAlertConfirm + case printerHeader + case closeButton + case appVersionHeader + case logoutAlertTitle + case selectPrinterButton + case logOutAlertMessage } public override init() { super.init() } @@ -317,70 +283,60 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - columnAcceptedEmpty = try container.decodeIfPresent(String.self, forKey: .columnAcceptedEmpty) ?? "__columnAcceptedEmpty" - sectionLater = try container.decodeIfPresent(String.self, forKey: .sectionLater) ?? "__sectionLater" - allOrdersButton = try container.decodeIfPresent(String.self, forKey: .allOrdersButton) ?? "__allOrdersButton" - sectionToday = try container.decodeIfPresent(String.self, forKey: .sectionToday) ?? "__sectionToday" - columnDoneTodayEmpty = try container.decodeIfPresent(String.self, forKey: .columnDoneTodayEmpty) ?? "__columnDoneTodayEmpty" - columnDoneToday = try container.decodeIfPresent(String.self, forKey: .columnDoneToday) ?? "__columnDoneToday" - columnIncomingEmpty = try container.decodeIfPresent(String.self, forKey: .columnIncomingEmpty) ?? "__columnIncomingEmpty" - columnAccepted = try container.decodeIfPresent(String.self, forKey: .columnAccepted) ?? "__columnAccepted" - columnReady = try container.decodeIfPresent(String.self, forKey: .columnReady) ?? "__columnReady" - itemsSingular = try container.decodeIfPresent(String.self, forKey: .itemsSingular) ?? "__itemsSingular" - columnOutForDeliveryEmpty = try container.decodeIfPresent(String.self, forKey: .columnOutForDeliveryEmpty) ?? "__columnOutForDeliveryEmpty" - columnIncoming = try container.decodeIfPresent(String.self, forKey: .columnIncoming) ?? "__columnIncoming" - itemsPlural = try container.decodeIfPresent(String.self, forKey: .itemsPlural) ?? "__itemsPlural" - columnOutForDelivery = try container.decodeIfPresent(String.self, forKey: .columnOutForDelivery) ?? "__columnOutForDelivery" - columnReadyEmpty = try container.decodeIfPresent(String.self, forKey: .columnReadyEmpty) ?? "__columnReadyEmpty" - sectionTomorrow = try container.decodeIfPresent(String.self, forKey: .sectionTomorrow) ?? "__sectionTomorrow" + title = try container.decodeIfPresent(String.self, forKey: .title) ?? "__title" + logOutButton = try container.decodeIfPresent(String.self, forKey: .logOutButton) ?? "__logOutButton" + usernameHeader = try container.decodeIfPresent(String.self, forKey: .usernameHeader) ?? "__usernameHeader" + logOutAlertCancel = try container.decodeIfPresent(String.self, forKey: .logOutAlertCancel) ?? "__logOutAlertCancel" + logOutAlertConfirm = try container.decodeIfPresent(String.self, forKey: .logOutAlertConfirm) ?? "__logOutAlertConfirm" + printerHeader = try container.decodeIfPresent(String.self, forKey: .printerHeader) ?? "__printerHeader" + closeButton = try container.decodeIfPresent(String.self, forKey: .closeButton) ?? "__closeButton" + appVersionHeader = try container.decodeIfPresent(String.self, forKey: .appVersionHeader) ?? "__appVersionHeader" + logoutAlertTitle = try container.decodeIfPresent(String.self, forKey: .logoutAlertTitle) ?? "__logoutAlertTitle" + selectPrinterButton = try container.decodeIfPresent(String.self, forKey: .selectPrinterButton) ?? "__selectPrinterButton" + logOutAlertMessage = try container.decodeIfPresent(String.self, forKey: .logOutAlertMessage) ?? "__logOutAlertMessage" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.columnAcceptedEmpty.stringValue: return columnAcceptedEmpty - case CodingKeys.sectionLater.stringValue: return sectionLater - case CodingKeys.allOrdersButton.stringValue: return allOrdersButton - case CodingKeys.sectionToday.stringValue: return sectionToday - case CodingKeys.columnDoneTodayEmpty.stringValue: return columnDoneTodayEmpty - case CodingKeys.columnDoneToday.stringValue: return columnDoneToday - case CodingKeys.columnIncomingEmpty.stringValue: return columnIncomingEmpty - case CodingKeys.columnAccepted.stringValue: return columnAccepted - case CodingKeys.columnReady.stringValue: return columnReady - case CodingKeys.itemsSingular.stringValue: return itemsSingular - case CodingKeys.columnOutForDeliveryEmpty.stringValue: return columnOutForDeliveryEmpty - case CodingKeys.columnIncoming.stringValue: return columnIncoming - case CodingKeys.itemsPlural.stringValue: return itemsPlural - case CodingKeys.columnOutForDelivery.stringValue: return columnOutForDelivery - case CodingKeys.columnReadyEmpty.stringValue: return columnReadyEmpty - case CodingKeys.sectionTomorrow.stringValue: return sectionTomorrow + case CodingKeys.title.stringValue: return title + case CodingKeys.logOutButton.stringValue: return logOutButton + case CodingKeys.usernameHeader.stringValue: return usernameHeader + case CodingKeys.logOutAlertCancel.stringValue: return logOutAlertCancel + case CodingKeys.logOutAlertConfirm.stringValue: return logOutAlertConfirm + case CodingKeys.printerHeader.stringValue: return printerHeader + case CodingKeys.closeButton.stringValue: return closeButton + case CodingKeys.appVersionHeader.stringValue: return appVersionHeader + case CodingKeys.logoutAlertTitle.stringValue: return logoutAlertTitle + case CodingKeys.selectPrinterButton.stringValue: return selectPrinterButton + case CodingKeys.logOutAlertMessage.stringValue: return logOutAlertMessage default: return nil } } } - public final class Login: LocalizableSection { - public var appVersionPrefix = "" - public var emailPlaceholder = "" - public var appName = "" - public var resetPasswordMessage = "" - public var loginButton = "" - public var title = "" - public var errorInvalidCredentials = "" - public var emailHeader = "" - public var passwordPlaceholder = "" - public var passwordHeader = "" + public final class Units: LocalizableSection { + public var grm = "" + public var e14 = "" + public var dlt = "" + public var mlt = "" + public var cmt = "" + public var clt = "" + public var kgm = "" + public var d70 = "" + public var ltr = "" + public var h87 = "" enum CodingKeys: String, CodingKey { - case appVersionPrefix - case emailPlaceholder - case appName - case resetPasswordMessage - case loginButton - case title - case errorInvalidCredentials - case emailHeader - case passwordPlaceholder - case passwordHeader + case grm + case e14 + case dlt + case mlt + case cmt + case clt + case kgm + case d70 + case ltr + case h87 } public override init() { super.init() } @@ -388,64 +344,58 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - appVersionPrefix = try container.decodeIfPresent(String.self, forKey: .appVersionPrefix) ?? "__appVersionPrefix" - emailPlaceholder = try container.decodeIfPresent(String.self, forKey: .emailPlaceholder) ?? "__emailPlaceholder" - appName = try container.decodeIfPresent(String.self, forKey: .appName) ?? "__appName" - resetPasswordMessage = try container.decodeIfPresent(String.self, forKey: .resetPasswordMessage) ?? "__resetPasswordMessage" - loginButton = try container.decodeIfPresent(String.self, forKey: .loginButton) ?? "__loginButton" - title = try container.decodeIfPresent(String.self, forKey: .title) ?? "__title" - errorInvalidCredentials = try container.decodeIfPresent(String.self, forKey: .errorInvalidCredentials) ?? "__errorInvalidCredentials" - emailHeader = try container.decodeIfPresent(String.self, forKey: .emailHeader) ?? "__emailHeader" - passwordPlaceholder = try container.decodeIfPresent(String.self, forKey: .passwordPlaceholder) ?? "__passwordPlaceholder" - passwordHeader = try container.decodeIfPresent(String.self, forKey: .passwordHeader) ?? "__passwordHeader" + grm = try container.decodeIfPresent(String.self, forKey: .grm) ?? "__grm" + e14 = try container.decodeIfPresent(String.self, forKey: .e14) ?? "__e14" + dlt = try container.decodeIfPresent(String.self, forKey: .dlt) ?? "__dlt" + mlt = try container.decodeIfPresent(String.self, forKey: .mlt) ?? "__mlt" + cmt = try container.decodeIfPresent(String.self, forKey: .cmt) ?? "__cmt" + clt = try container.decodeIfPresent(String.self, forKey: .clt) ?? "__clt" + kgm = try container.decodeIfPresent(String.self, forKey: .kgm) ?? "__kgm" + d70 = try container.decodeIfPresent(String.self, forKey: .d70) ?? "__d70" + ltr = try container.decodeIfPresent(String.self, forKey: .ltr) ?? "__ltr" + h87 = try container.decodeIfPresent(String.self, forKey: .h87) ?? "__h87" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.appVersionPrefix.stringValue: return appVersionPrefix - case CodingKeys.emailPlaceholder.stringValue: return emailPlaceholder - case CodingKeys.appName.stringValue: return appName - case CodingKeys.resetPasswordMessage.stringValue: return resetPasswordMessage - case CodingKeys.loginButton.stringValue: return loginButton - case CodingKeys.title.stringValue: return title - case CodingKeys.errorInvalidCredentials.stringValue: return errorInvalidCredentials - case CodingKeys.emailHeader.stringValue: return emailHeader - case CodingKeys.passwordPlaceholder.stringValue: return passwordPlaceholder - case CodingKeys.passwordHeader.stringValue: return passwordHeader + case CodingKeys.grm.stringValue: return grm + case CodingKeys.e14.stringValue: return e14 + case CodingKeys.dlt.stringValue: return dlt + case CodingKeys.mlt.stringValue: return mlt + case CodingKeys.cmt.stringValue: return cmt + case CodingKeys.clt.stringValue: return clt + case CodingKeys.kgm.stringValue: return kgm + case CodingKeys.d70.stringValue: return d70 + case CodingKeys.ltr.stringValue: return ltr + case CodingKeys.h87.stringValue: return h87 default: return nil } } } - public final class SearchOrders: LocalizableSection { - public var statusNew = "" - public var customerNameHeader = "" - public var orderNumberHeader = "" - public var statusCompleted = "" - public var searchfieldPlaceholder = "" - public var statusRejected = "" + public final class Login: LocalizableSection { + public var emailPlaceholder = "" public var title = "" - public var orderStatusHeader = "" - public var statusAccepted = "" - public var statusReady = "" - public var emptyMessage = "" - public var orderDateHeader = "" - public var statusShipped = "" + public var emailHeader = "" + public var errorInvalidCredentials = "" + public var resetPasswordMessage = "" + public var loginButton = "" + public var passwordPlaceholder = "" + public var passwordHeader = "" + public var appVersionPrefix = "" + public var appName = "" enum CodingKeys: String, CodingKey { - case statusNew - case customerNameHeader - case orderNumberHeader - case statusCompleted - case searchfieldPlaceholder - case statusRejected + case emailPlaceholder case title - case orderStatusHeader - case statusAccepted - case statusReady - case emptyMessage - case orderDateHeader - case statusShipped + case emailHeader + case errorInvalidCredentials + case resetPasswordMessage + case loginButton + case passwordPlaceholder + case passwordHeader + case appVersionPrefix + case appName } public override init() { super.init() } @@ -453,46 +403,54 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - statusNew = try container.decodeIfPresent(String.self, forKey: .statusNew) ?? "__statusNew" - customerNameHeader = try container.decodeIfPresent(String.self, forKey: .customerNameHeader) ?? "__customerNameHeader" - orderNumberHeader = try container.decodeIfPresent(String.self, forKey: .orderNumberHeader) ?? "__orderNumberHeader" - statusCompleted = try container.decodeIfPresent(String.self, forKey: .statusCompleted) ?? "__statusCompleted" - searchfieldPlaceholder = try container.decodeIfPresent(String.self, forKey: .searchfieldPlaceholder) ?? "__searchfieldPlaceholder" - statusRejected = try container.decodeIfPresent(String.self, forKey: .statusRejected) ?? "__statusRejected" + emailPlaceholder = try container.decodeIfPresent(String.self, forKey: .emailPlaceholder) ?? "__emailPlaceholder" title = try container.decodeIfPresent(String.self, forKey: .title) ?? "__title" - orderStatusHeader = try container.decodeIfPresent(String.self, forKey: .orderStatusHeader) ?? "__orderStatusHeader" - statusAccepted = try container.decodeIfPresent(String.self, forKey: .statusAccepted) ?? "__statusAccepted" - statusReady = try container.decodeIfPresent(String.self, forKey: .statusReady) ?? "__statusReady" - emptyMessage = try container.decodeIfPresent(String.self, forKey: .emptyMessage) ?? "__emptyMessage" - orderDateHeader = try container.decodeIfPresent(String.self, forKey: .orderDateHeader) ?? "__orderDateHeader" - statusShipped = try container.decodeIfPresent(String.self, forKey: .statusShipped) ?? "__statusShipped" + emailHeader = try container.decodeIfPresent(String.self, forKey: .emailHeader) ?? "__emailHeader" + errorInvalidCredentials = try container.decodeIfPresent(String.self, forKey: .errorInvalidCredentials) ?? "__errorInvalidCredentials" + resetPasswordMessage = try container.decodeIfPresent(String.self, forKey: .resetPasswordMessage) ?? "__resetPasswordMessage" + loginButton = try container.decodeIfPresent(String.self, forKey: .loginButton) ?? "__loginButton" + passwordPlaceholder = try container.decodeIfPresent(String.self, forKey: .passwordPlaceholder) ?? "__passwordPlaceholder" + passwordHeader = try container.decodeIfPresent(String.self, forKey: .passwordHeader) ?? "__passwordHeader" + appVersionPrefix = try container.decodeIfPresent(String.self, forKey: .appVersionPrefix) ?? "__appVersionPrefix" + appName = try container.decodeIfPresent(String.self, forKey: .appName) ?? "__appName" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.statusNew.stringValue: return statusNew - case CodingKeys.customerNameHeader.stringValue: return customerNameHeader - case CodingKeys.orderNumberHeader.stringValue: return orderNumberHeader - case CodingKeys.statusCompleted.stringValue: return statusCompleted - case CodingKeys.searchfieldPlaceholder.stringValue: return searchfieldPlaceholder - case CodingKeys.statusRejected.stringValue: return statusRejected + case CodingKeys.emailPlaceholder.stringValue: return emailPlaceholder case CodingKeys.title.stringValue: return title - case CodingKeys.orderStatusHeader.stringValue: return orderStatusHeader - case CodingKeys.statusAccepted.stringValue: return statusAccepted - case CodingKeys.statusReady.stringValue: return statusReady - case CodingKeys.emptyMessage.stringValue: return emptyMessage - case CodingKeys.orderDateHeader.stringValue: return orderDateHeader - case CodingKeys.statusShipped.stringValue: return statusShipped + case CodingKeys.emailHeader.stringValue: return emailHeader + case CodingKeys.errorInvalidCredentials.stringValue: return errorInvalidCredentials + case CodingKeys.resetPasswordMessage.stringValue: return resetPasswordMessage + case CodingKeys.loginButton.stringValue: return loginButton + case CodingKeys.passwordPlaceholder.stringValue: return passwordPlaceholder + case CodingKeys.passwordHeader.stringValue: return passwordHeader + case CodingKeys.appVersionPrefix.stringValue: return appVersionPrefix + case CodingKeys.appName.stringValue: return appName default: return nil } } } - public final class OrderStatus: LocalizableSection { - public var accepted = "" + public final class PrinterOutput: LocalizableSection { + public var otherHeader = "" + public var warmHeader = "" + public var orderNumber = "" + public var errorDeviceConnectionFailed = "" + public var includeCutlery = "" + public var noteHeader = "" + public var errorNoDeviceFound = "" + public var coldHeader = "" enum CodingKeys: String, CodingKey { - case accepted + case otherHeader + case warmHeader + case orderNumber + case errorDeviceConnectionFailed + case includeCutlery + case noteHeader + case errorNoDeviceFound + case coldHeader } public override init() { super.init() } @@ -500,90 +458,104 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - accepted = try container.decodeIfPresent(String.self, forKey: .accepted) ?? "__accepted" + otherHeader = try container.decodeIfPresent(String.self, forKey: .otherHeader) ?? "__otherHeader" + warmHeader = try container.decodeIfPresent(String.self, forKey: .warmHeader) ?? "__warmHeader" + orderNumber = try container.decodeIfPresent(String.self, forKey: .orderNumber) ?? "__orderNumber" + errorDeviceConnectionFailed = try container.decodeIfPresent(String.self, forKey: .errorDeviceConnectionFailed) ?? "__errorDeviceConnectionFailed" + includeCutlery = try container.decodeIfPresent(String.self, forKey: .includeCutlery) ?? "__includeCutlery" + noteHeader = try container.decodeIfPresent(String.self, forKey: .noteHeader) ?? "__noteHeader" + errorNoDeviceFound = try container.decodeIfPresent(String.self, forKey: .errorNoDeviceFound) ?? "__errorNoDeviceFound" + coldHeader = try container.decodeIfPresent(String.self, forKey: .coldHeader) ?? "__coldHeader" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.accepted.stringValue: return accepted + case CodingKeys.otherHeader.stringValue: return otherHeader + case CodingKeys.warmHeader.stringValue: return warmHeader + case CodingKeys.orderNumber.stringValue: return orderNumber + case CodingKeys.errorDeviceConnectionFailed.stringValue: return errorDeviceConnectionFailed + case CodingKeys.includeCutlery.stringValue: return includeCutlery + case CodingKeys.noteHeader.stringValue: return noteHeader + case CodingKeys.errorNoDeviceFound.stringValue: return errorNoDeviceFound + case CodingKeys.coldHeader.stringValue: return coldHeader default: return nil } } } public final class OrderDetails: LocalizableSection { - public var printButton = "" - public var sectionHeaderTakeout = "" - public var sectionSubheaderColdProducts = "" - public var infoPaymentType = "" - public var sectionHeaderWarmProducts = "" - public var infoMobilePhone = "" - public var sectionHeaderCustomerInfo = "" - public var today = "" + public var infoTakeOutShopID = "" + public var rejectOrderAlertMessage = "" + public var pickedUpButton = "" + public var deliveryTypeHeader = "" + public var completedBanner = "" + public var errorStatusUpdateFailed = "" + public var sectionHeaderWarmProducts = "" public var errorCouldNotFetchProducts = "" - public var deliveryTypeHeader = "" - public var pickedUpButton = "" - public var readyButton = "" + public var sectionHeaderOtherProducts = "" + public var includeCutlery = "" + public var today = "" public var infoCustomerName = "" - public var customerNoteHeader = "" - public var pickupTimeHeader = "" - public var infoEmail = "" + public var sectionHeaderOrderStatus = "" public var rejectButton = "" - public var infoTakeOutShopID = "" public var infoOrderTime = "" - public var underPreparationButton = "" - public var infoTakeoutPhone = "" - public var infoDeliveryTime = "" - public var completedBanner = "" - public var sectionHeaderOtherProducts = "" + public var sectionHeaderColdProducts = "" + public var printButton = "" public var rejectOrderAlertTitle = "" - public var includeCutlery = "" + public var infoTakeoutPhone = "" + public var infoEmail = "" + public var infoAddress = "" + public var underPreparationButton = "" public var rejectOrderAlertConfirm = "" + public var infoMobilePhone = "" + public var infoDeliveryTime = "" + public var readyButton = "" + public var infoPaymentType = "" + public var customerNoteHeader = "" + public var pickupTimeHeader = "" public var rejectOrderAlertCancel = "" - public var aPiece = "" - public var sectionHeaderColdProducts = "" - public var sectionHeaderOrderStatus = "" - public var infoAddress = "" - public var rejectOrderAlertMessage = "" - public var errorStatusUpdateFailed = "" + public var sectionHeaderCustomerInfo = "" + public var sectionHeaderTakeout = "" public var outForDeliveryButton = "" + public var sectionSubheaderColdProducts = "" + public var aPiece = "" enum CodingKeys: String, CodingKey { - case printButton - case sectionHeaderTakeout - case sectionSubheaderColdProducts - case infoPaymentType + case infoTakeOutShopID + case rejectOrderAlertMessage + case pickedUpButton + case deliveryTypeHeader + case completedBanner + case errorStatusUpdateFailed case sectionHeaderWarmProducts - case infoMobilePhone - case sectionHeaderCustomerInfo - case today case errorCouldNotFetchProducts - case deliveryTypeHeader - case pickedUpButton - case readyButton + case sectionHeaderOtherProducts + case includeCutlery + case today case infoCustomerName - case customerNoteHeader - case pickupTimeHeader - case infoEmail + case sectionHeaderOrderStatus case rejectButton - case infoTakeOutShopID case infoOrderTime - case underPreparationButton - case infoTakeoutPhone - case infoDeliveryTime - case completedBanner - case sectionHeaderOtherProducts + case sectionHeaderColdProducts + case printButton case rejectOrderAlertTitle - case includeCutlery + case infoTakeoutPhone + case infoEmail + case infoAddress + case underPreparationButton case rejectOrderAlertConfirm + case infoMobilePhone + case infoDeliveryTime + case readyButton + case infoPaymentType + case customerNoteHeader + case pickupTimeHeader case rejectOrderAlertCancel - case aPiece - case sectionHeaderColdProducts - case sectionHeaderOrderStatus - case infoAddress - case rejectOrderAlertMessage - case errorStatusUpdateFailed + case sectionHeaderCustomerInfo + case sectionHeaderTakeout case outForDeliveryButton + case sectionSubheaderColdProducts + case aPiece } public override init() { super.init() } @@ -591,196 +563,169 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - printButton = try container.decodeIfPresent(String.self, forKey: .printButton) ?? "__printButton" - sectionHeaderTakeout = try container.decodeIfPresent(String.self, forKey: .sectionHeaderTakeout) ?? "__sectionHeaderTakeout" - sectionSubheaderColdProducts = try container.decodeIfPresent(String.self, forKey: .sectionSubheaderColdProducts) ?? "__sectionSubheaderColdProducts" - infoPaymentType = try container.decodeIfPresent(String.self, forKey: .infoPaymentType) ?? "__infoPaymentType" + infoTakeOutShopID = try container.decodeIfPresent(String.self, forKey: .infoTakeOutShopID) ?? "__infoTakeOutShopID" + rejectOrderAlertMessage = try container.decodeIfPresent(String.self, forKey: .rejectOrderAlertMessage) ?? "__rejectOrderAlertMessage" + pickedUpButton = try container.decodeIfPresent(String.self, forKey: .pickedUpButton) ?? "__pickedUpButton" + deliveryTypeHeader = try container.decodeIfPresent(String.self, forKey: .deliveryTypeHeader) ?? "__deliveryTypeHeader" + completedBanner = try container.decodeIfPresent(String.self, forKey: .completedBanner) ?? "__completedBanner" + errorStatusUpdateFailed = try container.decodeIfPresent(String.self, forKey: .errorStatusUpdateFailed) ?? "__errorStatusUpdateFailed" sectionHeaderWarmProducts = try container.decodeIfPresent(String.self, forKey: .sectionHeaderWarmProducts) ?? "__sectionHeaderWarmProducts" - infoMobilePhone = try container.decodeIfPresent(String.self, forKey: .infoMobilePhone) ?? "__infoMobilePhone" - sectionHeaderCustomerInfo = try container.decodeIfPresent(String.self, forKey: .sectionHeaderCustomerInfo) ?? "__sectionHeaderCustomerInfo" - today = try container.decodeIfPresent(String.self, forKey: .today) ?? "__today" errorCouldNotFetchProducts = try container.decodeIfPresent(String.self, forKey: .errorCouldNotFetchProducts) ?? "__errorCouldNotFetchProducts" - deliveryTypeHeader = try container.decodeIfPresent(String.self, forKey: .deliveryTypeHeader) ?? "__deliveryTypeHeader" - pickedUpButton = try container.decodeIfPresent(String.self, forKey: .pickedUpButton) ?? "__pickedUpButton" - readyButton = try container.decodeIfPresent(String.self, forKey: .readyButton) ?? "__readyButton" + sectionHeaderOtherProducts = try container.decodeIfPresent(String.self, forKey: .sectionHeaderOtherProducts) ?? "__sectionHeaderOtherProducts" + includeCutlery = try container.decodeIfPresent(String.self, forKey: .includeCutlery) ?? "__includeCutlery" + today = try container.decodeIfPresent(String.self, forKey: .today) ?? "__today" infoCustomerName = try container.decodeIfPresent(String.self, forKey: .infoCustomerName) ?? "__infoCustomerName" - customerNoteHeader = try container.decodeIfPresent(String.self, forKey: .customerNoteHeader) ?? "__customerNoteHeader" - pickupTimeHeader = try container.decodeIfPresent(String.self, forKey: .pickupTimeHeader) ?? "__pickupTimeHeader" - infoEmail = try container.decodeIfPresent(String.self, forKey: .infoEmail) ?? "__infoEmail" + sectionHeaderOrderStatus = try container.decodeIfPresent(String.self, forKey: .sectionHeaderOrderStatus) ?? "__sectionHeaderOrderStatus" rejectButton = try container.decodeIfPresent(String.self, forKey: .rejectButton) ?? "__rejectButton" - infoTakeOutShopID = try container.decodeIfPresent(String.self, forKey: .infoTakeOutShopID) ?? "__infoTakeOutShopID" infoOrderTime = try container.decodeIfPresent(String.self, forKey: .infoOrderTime) ?? "__infoOrderTime" - underPreparationButton = try container.decodeIfPresent(String.self, forKey: .underPreparationButton) ?? "__underPreparationButton" - infoTakeoutPhone = try container.decodeIfPresent(String.self, forKey: .infoTakeoutPhone) ?? "__infoTakeoutPhone" - infoDeliveryTime = try container.decodeIfPresent(String.self, forKey: .infoDeliveryTime) ?? "__infoDeliveryTime" - completedBanner = try container.decodeIfPresent(String.self, forKey: .completedBanner) ?? "__completedBanner" - sectionHeaderOtherProducts = try container.decodeIfPresent(String.self, forKey: .sectionHeaderOtherProducts) ?? "__sectionHeaderOtherProducts" + sectionHeaderColdProducts = try container.decodeIfPresent(String.self, forKey: .sectionHeaderColdProducts) ?? "__sectionHeaderColdProducts" + printButton = try container.decodeIfPresent(String.self, forKey: .printButton) ?? "__printButton" rejectOrderAlertTitle = try container.decodeIfPresent(String.self, forKey: .rejectOrderAlertTitle) ?? "__rejectOrderAlertTitle" - includeCutlery = try container.decodeIfPresent(String.self, forKey: .includeCutlery) ?? "__includeCutlery" + infoTakeoutPhone = try container.decodeIfPresent(String.self, forKey: .infoTakeoutPhone) ?? "__infoTakeoutPhone" + infoEmail = try container.decodeIfPresent(String.self, forKey: .infoEmail) ?? "__infoEmail" + infoAddress = try container.decodeIfPresent(String.self, forKey: .infoAddress) ?? "__infoAddress" + underPreparationButton = try container.decodeIfPresent(String.self, forKey: .underPreparationButton) ?? "__underPreparationButton" rejectOrderAlertConfirm = try container.decodeIfPresent(String.self, forKey: .rejectOrderAlertConfirm) ?? "__rejectOrderAlertConfirm" + infoMobilePhone = try container.decodeIfPresent(String.self, forKey: .infoMobilePhone) ?? "__infoMobilePhone" + infoDeliveryTime = try container.decodeIfPresent(String.self, forKey: .infoDeliveryTime) ?? "__infoDeliveryTime" + readyButton = try container.decodeIfPresent(String.self, forKey: .readyButton) ?? "__readyButton" + infoPaymentType = try container.decodeIfPresent(String.self, forKey: .infoPaymentType) ?? "__infoPaymentType" + customerNoteHeader = try container.decodeIfPresent(String.self, forKey: .customerNoteHeader) ?? "__customerNoteHeader" + pickupTimeHeader = try container.decodeIfPresent(String.self, forKey: .pickupTimeHeader) ?? "__pickupTimeHeader" rejectOrderAlertCancel = try container.decodeIfPresent(String.self, forKey: .rejectOrderAlertCancel) ?? "__rejectOrderAlertCancel" - aPiece = try container.decodeIfPresent(String.self, forKey: .aPiece) ?? "__aPiece" - sectionHeaderColdProducts = try container.decodeIfPresent(String.self, forKey: .sectionHeaderColdProducts) ?? "__sectionHeaderColdProducts" - sectionHeaderOrderStatus = try container.decodeIfPresent(String.self, forKey: .sectionHeaderOrderStatus) ?? "__sectionHeaderOrderStatus" - infoAddress = try container.decodeIfPresent(String.self, forKey: .infoAddress) ?? "__infoAddress" - rejectOrderAlertMessage = try container.decodeIfPresent(String.self, forKey: .rejectOrderAlertMessage) ?? "__rejectOrderAlertMessage" - errorStatusUpdateFailed = try container.decodeIfPresent(String.self, forKey: .errorStatusUpdateFailed) ?? "__errorStatusUpdateFailed" + sectionHeaderCustomerInfo = try container.decodeIfPresent(String.self, forKey: .sectionHeaderCustomerInfo) ?? "__sectionHeaderCustomerInfo" + sectionHeaderTakeout = try container.decodeIfPresent(String.self, forKey: .sectionHeaderTakeout) ?? "__sectionHeaderTakeout" outForDeliveryButton = try container.decodeIfPresent(String.self, forKey: .outForDeliveryButton) ?? "__outForDeliveryButton" + sectionSubheaderColdProducts = try container.decodeIfPresent(String.self, forKey: .sectionSubheaderColdProducts) ?? "__sectionSubheaderColdProducts" + aPiece = try container.decodeIfPresent(String.self, forKey: .aPiece) ?? "__aPiece" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.printButton.stringValue: return printButton - case CodingKeys.sectionHeaderTakeout.stringValue: return sectionHeaderTakeout - case CodingKeys.sectionSubheaderColdProducts.stringValue: return sectionSubheaderColdProducts - case CodingKeys.infoPaymentType.stringValue: return infoPaymentType + case CodingKeys.infoTakeOutShopID.stringValue: return infoTakeOutShopID + case CodingKeys.rejectOrderAlertMessage.stringValue: return rejectOrderAlertMessage + case CodingKeys.pickedUpButton.stringValue: return pickedUpButton + case CodingKeys.deliveryTypeHeader.stringValue: return deliveryTypeHeader + case CodingKeys.completedBanner.stringValue: return completedBanner + case CodingKeys.errorStatusUpdateFailed.stringValue: return errorStatusUpdateFailed case CodingKeys.sectionHeaderWarmProducts.stringValue: return sectionHeaderWarmProducts - case CodingKeys.infoMobilePhone.stringValue: return infoMobilePhone - case CodingKeys.sectionHeaderCustomerInfo.stringValue: return sectionHeaderCustomerInfo - case CodingKeys.today.stringValue: return today case CodingKeys.errorCouldNotFetchProducts.stringValue: return errorCouldNotFetchProducts - case CodingKeys.deliveryTypeHeader.stringValue: return deliveryTypeHeader - case CodingKeys.pickedUpButton.stringValue: return pickedUpButton - case CodingKeys.readyButton.stringValue: return readyButton + case CodingKeys.sectionHeaderOtherProducts.stringValue: return sectionHeaderOtherProducts + case CodingKeys.includeCutlery.stringValue: return includeCutlery + case CodingKeys.today.stringValue: return today case CodingKeys.infoCustomerName.stringValue: return infoCustomerName - case CodingKeys.customerNoteHeader.stringValue: return customerNoteHeader - case CodingKeys.pickupTimeHeader.stringValue: return pickupTimeHeader - case CodingKeys.infoEmail.stringValue: return infoEmail + case CodingKeys.sectionHeaderOrderStatus.stringValue: return sectionHeaderOrderStatus case CodingKeys.rejectButton.stringValue: return rejectButton - case CodingKeys.infoTakeOutShopID.stringValue: return infoTakeOutShopID case CodingKeys.infoOrderTime.stringValue: return infoOrderTime - case CodingKeys.underPreparationButton.stringValue: return underPreparationButton - case CodingKeys.infoTakeoutPhone.stringValue: return infoTakeoutPhone - case CodingKeys.infoDeliveryTime.stringValue: return infoDeliveryTime - case CodingKeys.completedBanner.stringValue: return completedBanner - case CodingKeys.sectionHeaderOtherProducts.stringValue: return sectionHeaderOtherProducts + case CodingKeys.sectionHeaderColdProducts.stringValue: return sectionHeaderColdProducts + case CodingKeys.printButton.stringValue: return printButton case CodingKeys.rejectOrderAlertTitle.stringValue: return rejectOrderAlertTitle - case CodingKeys.includeCutlery.stringValue: return includeCutlery + case CodingKeys.infoTakeoutPhone.stringValue: return infoTakeoutPhone + case CodingKeys.infoEmail.stringValue: return infoEmail + case CodingKeys.infoAddress.stringValue: return infoAddress + case CodingKeys.underPreparationButton.stringValue: return underPreparationButton case CodingKeys.rejectOrderAlertConfirm.stringValue: return rejectOrderAlertConfirm + case CodingKeys.infoMobilePhone.stringValue: return infoMobilePhone + case CodingKeys.infoDeliveryTime.stringValue: return infoDeliveryTime + case CodingKeys.readyButton.stringValue: return readyButton + case CodingKeys.infoPaymentType.stringValue: return infoPaymentType + case CodingKeys.customerNoteHeader.stringValue: return customerNoteHeader + case CodingKeys.pickupTimeHeader.stringValue: return pickupTimeHeader case CodingKeys.rejectOrderAlertCancel.stringValue: return rejectOrderAlertCancel - case CodingKeys.aPiece.stringValue: return aPiece - case CodingKeys.sectionHeaderColdProducts.stringValue: return sectionHeaderColdProducts - case CodingKeys.sectionHeaderOrderStatus.stringValue: return sectionHeaderOrderStatus - case CodingKeys.infoAddress.stringValue: return infoAddress - case CodingKeys.rejectOrderAlertMessage.stringValue: return rejectOrderAlertMessage - case CodingKeys.errorStatusUpdateFailed.stringValue: return errorStatusUpdateFailed + case CodingKeys.sectionHeaderCustomerInfo.stringValue: return sectionHeaderCustomerInfo + case CodingKeys.sectionHeaderTakeout.stringValue: return sectionHeaderTakeout case CodingKeys.outForDeliveryButton.stringValue: return outForDeliveryButton + case CodingKeys.sectionSubheaderColdProducts.stringValue: return sectionSubheaderColdProducts + case CodingKeys.aPiece.stringValue: return aPiece default: return nil } } } public final class OrderDetailNewOrderSection: LocalizableSection { + public var deliveryTimeHeader = "" + public var pickedUpInStoreAt = "" public var customerNameHeader = "" public var rejectButton = "" - public var pickupTimeHeader = "" - public var subheader = "" public var phoneNumberHeader = "" public var acceptButton = "" - public var pickedUpInStoreAt = "" - public var deliveryTimeHeader = "" + public var pickupTimeHeader = "" public var header = "" + public var subheader = "" enum CodingKeys: String, CodingKey { + case deliveryTimeHeader + case pickedUpInStoreAt case customerNameHeader case rejectButton - case pickupTimeHeader - case subheader case phoneNumberHeader case acceptButton - case pickedUpInStoreAt - case deliveryTimeHeader + case pickupTimeHeader case header + case subheader } public override init() { super.init() } public required init(from decoder: Decoder) throws { super.init() - let container = try decoder.container(keyedBy: CodingKeys.self) - customerNameHeader = try container.decodeIfPresent(String.self, forKey: .customerNameHeader) ?? "__customerNameHeader" - rejectButton = try container.decodeIfPresent(String.self, forKey: .rejectButton) ?? "__rejectButton" - pickupTimeHeader = try container.decodeIfPresent(String.self, forKey: .pickupTimeHeader) ?? "__pickupTimeHeader" - subheader = try container.decodeIfPresent(String.self, forKey: .subheader) ?? "__subheader" - phoneNumberHeader = try container.decodeIfPresent(String.self, forKey: .phoneNumberHeader) ?? "__phoneNumberHeader" - acceptButton = try container.decodeIfPresent(String.self, forKey: .acceptButton) ?? "__acceptButton" - pickedUpInStoreAt = try container.decodeIfPresent(String.self, forKey: .pickedUpInStoreAt) ?? "__pickedUpInStoreAt" - deliveryTimeHeader = try container.decodeIfPresent(String.self, forKey: .deliveryTimeHeader) ?? "__deliveryTimeHeader" - header = try container.decodeIfPresent(String.self, forKey: .header) ?? "__header" - } - - public override subscript(key: String) -> String? { - switch key { - case CodingKeys.customerNameHeader.stringValue: return customerNameHeader - case CodingKeys.rejectButton.stringValue: return rejectButton - case CodingKeys.pickupTimeHeader.stringValue: return pickupTimeHeader - case CodingKeys.subheader.stringValue: return subheader - case CodingKeys.phoneNumberHeader.stringValue: return phoneNumberHeader - case CodingKeys.acceptButton.stringValue: return acceptButton - case CodingKeys.pickedUpInStoreAt.stringValue: return pickedUpInStoreAt - case CodingKeys.deliveryTimeHeader.stringValue: return deliveryTimeHeader - case CodingKeys.header.stringValue: return header - default: return nil - } - } - } - - public final class DeliveryType: LocalizableSection { - public var collect = "" - public var delivery = "" - - enum CodingKeys: String, CodingKey { - case collect - case delivery - } - - public override init() { super.init() } - - public required init(from decoder: Decoder) throws { - super.init() - let container = try decoder.container(keyedBy: CodingKeys.self) - collect = try container.decodeIfPresent(String.self, forKey: .collect) ?? "__collect" - delivery = try container.decodeIfPresent(String.self, forKey: .delivery) ?? "__delivery" + let container = try decoder.container(keyedBy: CodingKeys.self) + deliveryTimeHeader = try container.decodeIfPresent(String.self, forKey: .deliveryTimeHeader) ?? "__deliveryTimeHeader" + pickedUpInStoreAt = try container.decodeIfPresent(String.self, forKey: .pickedUpInStoreAt) ?? "__pickedUpInStoreAt" + customerNameHeader = try container.decodeIfPresent(String.self, forKey: .customerNameHeader) ?? "__customerNameHeader" + rejectButton = try container.decodeIfPresent(String.self, forKey: .rejectButton) ?? "__rejectButton" + phoneNumberHeader = try container.decodeIfPresent(String.self, forKey: .phoneNumberHeader) ?? "__phoneNumberHeader" + acceptButton = try container.decodeIfPresent(String.self, forKey: .acceptButton) ?? "__acceptButton" + pickupTimeHeader = try container.decodeIfPresent(String.self, forKey: .pickupTimeHeader) ?? "__pickupTimeHeader" + header = try container.decodeIfPresent(String.self, forKey: .header) ?? "__header" + subheader = try container.decodeIfPresent(String.self, forKey: .subheader) ?? "__subheader" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.collect.stringValue: return collect - case CodingKeys.delivery.stringValue: return delivery + case CodingKeys.deliveryTimeHeader.stringValue: return deliveryTimeHeader + case CodingKeys.pickedUpInStoreAt.stringValue: return pickedUpInStoreAt + case CodingKeys.customerNameHeader.stringValue: return customerNameHeader + case CodingKeys.rejectButton.stringValue: return rejectButton + case CodingKeys.phoneNumberHeader.stringValue: return phoneNumberHeader + case CodingKeys.acceptButton.stringValue: return acceptButton + case CodingKeys.pickupTimeHeader.stringValue: return pickupTimeHeader + case CodingKeys.header.stringValue: return header + case CodingKeys.subheader.stringValue: return subheader default: return nil } } } public final class DefaultSection: LocalizableSection { - public var skip = "" + public var cancel = "" + public var edit = "" + public var retry = "" + public var back = "" + public var no = "" public var save = "" + public var next = "" + public var yes = "" public var previous = "" - public var no = "" public var settings = "" - public var later = "" - public var next = "" + public var skip = "" public var ok = "" - public var back = "" - public var yes = "" - public var retry = "" - public var edit = "" - public var cancel = "" + public var later = "" enum CodingKeys: String, CodingKey { - case skip + case cancel + case edit + case retry + case back + case no case save + case next + case yes case previous - case no case settings - case later - case next + case skip case ok - case back - case yes - case retry - case edit - case cancel + case later } public override init() { super.init() } @@ -788,60 +733,60 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - skip = try container.decodeIfPresent(String.self, forKey: .skip) ?? "__skip" + cancel = try container.decodeIfPresent(String.self, forKey: .cancel) ?? "__cancel" + edit = try container.decodeIfPresent(String.self, forKey: .edit) ?? "__edit" + retry = try container.decodeIfPresent(String.self, forKey: .retry) ?? "__retry" + back = try container.decodeIfPresent(String.self, forKey: .back) ?? "__back" + no = try container.decodeIfPresent(String.self, forKey: .no) ?? "__no" save = try container.decodeIfPresent(String.self, forKey: .save) ?? "__save" + next = try container.decodeIfPresent(String.self, forKey: .next) ?? "__next" + yes = try container.decodeIfPresent(String.self, forKey: .yes) ?? "__yes" previous = try container.decodeIfPresent(String.self, forKey: .previous) ?? "__previous" - no = try container.decodeIfPresent(String.self, forKey: .no) ?? "__no" settings = try container.decodeIfPresent(String.self, forKey: .settings) ?? "__settings" - later = try container.decodeIfPresent(String.self, forKey: .later) ?? "__later" - next = try container.decodeIfPresent(String.self, forKey: .next) ?? "__next" + skip = try container.decodeIfPresent(String.self, forKey: .skip) ?? "__skip" ok = try container.decodeIfPresent(String.self, forKey: .ok) ?? "__ok" - back = try container.decodeIfPresent(String.self, forKey: .back) ?? "__back" - yes = try container.decodeIfPresent(String.self, forKey: .yes) ?? "__yes" - retry = try container.decodeIfPresent(String.self, forKey: .retry) ?? "__retry" - edit = try container.decodeIfPresent(String.self, forKey: .edit) ?? "__edit" - cancel = try container.decodeIfPresent(String.self, forKey: .cancel) ?? "__cancel" + later = try container.decodeIfPresent(String.self, forKey: .later) ?? "__later" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.skip.stringValue: return skip + case CodingKeys.cancel.stringValue: return cancel + case CodingKeys.edit.stringValue: return edit + case CodingKeys.retry.stringValue: return retry + case CodingKeys.back.stringValue: return back + case CodingKeys.no.stringValue: return no case CodingKeys.save.stringValue: return save + case CodingKeys.next.stringValue: return next + case CodingKeys.yes.stringValue: return yes case CodingKeys.previous.stringValue: return previous - case CodingKeys.no.stringValue: return no case CodingKeys.settings.stringValue: return settings - case CodingKeys.later.stringValue: return later - case CodingKeys.next.stringValue: return next + case CodingKeys.skip.stringValue: return skip case CodingKeys.ok.stringValue: return ok - case CodingKeys.back.stringValue: return back - case CodingKeys.yes.stringValue: return yes - case CodingKeys.retry.stringValue: return retry - case CodingKeys.edit.stringValue: return edit - case CodingKeys.cancel.stringValue: return cancel + case CodingKeys.later.stringValue: return later default: return nil } } } - public final class PrinterOutput: LocalizableSection { - public var errorDeviceConnectionFailed = "" - public var otherHeader = "" - public var includeCutlery = "" - public var noteHeader = "" - public var warmHeader = "" - public var errorNoDeviceFound = "" - public var orderNumber = "" - public var coldHeader = "" + public final class Printer: LocalizableSection { + public var title = "" + public var connectedSuccessMessage = "" + public var bluetoothHintFooter = "" + public var connectButton = "" + public var sectionHeaderNewPrinters = "" + public var deleteButton = "" + public var errorSomethingHappened = "" + public var sectionHeaderActivePrinter = "" enum CodingKeys: String, CodingKey { - case errorDeviceConnectionFailed - case otherHeader - case includeCutlery - case noteHeader - case warmHeader - case errorNoDeviceFound - case orderNumber - case coldHeader + case title + case connectedSuccessMessage + case bluetoothHintFooter + case connectButton + case sectionHeaderNewPrinters + case deleteButton + case errorSomethingHappened + case sectionHeaderActivePrinter } public override init() { super.init() } @@ -849,44 +794,36 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - errorDeviceConnectionFailed = try container.decodeIfPresent(String.self, forKey: .errorDeviceConnectionFailed) ?? "__errorDeviceConnectionFailed" - otherHeader = try container.decodeIfPresent(String.self, forKey: .otherHeader) ?? "__otherHeader" - includeCutlery = try container.decodeIfPresent(String.self, forKey: .includeCutlery) ?? "__includeCutlery" - noteHeader = try container.decodeIfPresent(String.self, forKey: .noteHeader) ?? "__noteHeader" - warmHeader = try container.decodeIfPresent(String.self, forKey: .warmHeader) ?? "__warmHeader" - errorNoDeviceFound = try container.decodeIfPresent(String.self, forKey: .errorNoDeviceFound) ?? "__errorNoDeviceFound" - orderNumber = try container.decodeIfPresent(String.self, forKey: .orderNumber) ?? "__orderNumber" - coldHeader = try container.decodeIfPresent(String.self, forKey: .coldHeader) ?? "__coldHeader" + title = try container.decodeIfPresent(String.self, forKey: .title) ?? "__title" + connectedSuccessMessage = try container.decodeIfPresent(String.self, forKey: .connectedSuccessMessage) ?? "__connectedSuccessMessage" + bluetoothHintFooter = try container.decodeIfPresent(String.self, forKey: .bluetoothHintFooter) ?? "__bluetoothHintFooter" + connectButton = try container.decodeIfPresent(String.self, forKey: .connectButton) ?? "__connectButton" + sectionHeaderNewPrinters = try container.decodeIfPresent(String.self, forKey: .sectionHeaderNewPrinters) ?? "__sectionHeaderNewPrinters" + deleteButton = try container.decodeIfPresent(String.self, forKey: .deleteButton) ?? "__deleteButton" + errorSomethingHappened = try container.decodeIfPresent(String.self, forKey: .errorSomethingHappened) ?? "__errorSomethingHappened" + sectionHeaderActivePrinter = try container.decodeIfPresent(String.self, forKey: .sectionHeaderActivePrinter) ?? "__sectionHeaderActivePrinter" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.errorDeviceConnectionFailed.stringValue: return errorDeviceConnectionFailed - case CodingKeys.otherHeader.stringValue: return otherHeader - case CodingKeys.includeCutlery.stringValue: return includeCutlery - case CodingKeys.noteHeader.stringValue: return noteHeader - case CodingKeys.warmHeader.stringValue: return warmHeader - case CodingKeys.errorNoDeviceFound.stringValue: return errorNoDeviceFound - case CodingKeys.orderNumber.stringValue: return orderNumber - case CodingKeys.coldHeader.stringValue: return coldHeader + case CodingKeys.title.stringValue: return title + case CodingKeys.connectedSuccessMessage.stringValue: return connectedSuccessMessage + case CodingKeys.bluetoothHintFooter.stringValue: return bluetoothHintFooter + case CodingKeys.connectButton.stringValue: return connectButton + case CodingKeys.sectionHeaderNewPrinters.stringValue: return sectionHeaderNewPrinters + case CodingKeys.deleteButton.stringValue: return deleteButton + case CodingKeys.errorSomethingHappened.stringValue: return errorSomethingHappened + case CodingKeys.sectionHeaderActivePrinter.stringValue: return sectionHeaderActivePrinter default: return nil } } } - public final class Error: LocalizableSection { - public var connectionError = "" - public var serverError = "" - public var authenticationError = "" - public var errorTitle = "" - public var unknownError = "" + public final class OrderStatus: LocalizableSection { + public var accepted = "" enum CodingKeys: String, CodingKey { - case connectionError - case serverError - case authenticationError - case errorTitle - case unknownError + case accepted } public override init() { super.init() } @@ -894,20 +831,83 @@ public final class Localizations: LocalizableModel { public required init(from decoder: Decoder) throws { super.init() let container = try decoder.container(keyedBy: CodingKeys.self) - connectionError = try container.decodeIfPresent(String.self, forKey: .connectionError) ?? "__connectionError" - serverError = try container.decodeIfPresent(String.self, forKey: .serverError) ?? "__serverError" - authenticationError = try container.decodeIfPresent(String.self, forKey: .authenticationError) ?? "__authenticationError" - errorTitle = try container.decodeIfPresent(String.self, forKey: .errorTitle) ?? "__errorTitle" - unknownError = try container.decodeIfPresent(String.self, forKey: .unknownError) ?? "__unknownError" + accepted = try container.decodeIfPresent(String.self, forKey: .accepted) ?? "__accepted" } public override subscript(key: String) -> String? { switch key { - case CodingKeys.connectionError.stringValue: return connectionError - case CodingKeys.serverError.stringValue: return serverError - case CodingKeys.authenticationError.stringValue: return authenticationError - case CodingKeys.errorTitle.stringValue: return errorTitle - case CodingKeys.unknownError.stringValue: return unknownError + case CodingKeys.accepted.stringValue: return accepted + default: return nil + } + } + } + + public final class SearchOrders: LocalizableSection { + public var emptyMessage = "" + public var statusShipped = "" + public var statusAccepted = "" + public var title = "" + public var orderNumberHeader = "" + public var orderDateHeader = "" + public var statusReady = "" + public var statusRejected = "" + public var searchfieldPlaceholder = "" + public var statusNew = "" + public var customerNameHeader = "" + public var statusCompleted = "" + public var orderStatusHeader = "" + + enum CodingKeys: String, CodingKey { + case emptyMessage + case statusShipped + case statusAccepted + case title + case orderNumberHeader + case orderDateHeader + case statusReady + case statusRejected + case searchfieldPlaceholder + case statusNew + case customerNameHeader + case statusCompleted + case orderStatusHeader + } + + public override init() { super.init() } + + public required init(from decoder: Decoder) throws { + super.init() + let container = try decoder.container(keyedBy: CodingKeys.self) + emptyMessage = try container.decodeIfPresent(String.self, forKey: .emptyMessage) ?? "__emptyMessage" + statusShipped = try container.decodeIfPresent(String.self, forKey: .statusShipped) ?? "__statusShipped" + statusAccepted = try container.decodeIfPresent(String.self, forKey: .statusAccepted) ?? "__statusAccepted" + title = try container.decodeIfPresent(String.self, forKey: .title) ?? "__title" + orderNumberHeader = try container.decodeIfPresent(String.self, forKey: .orderNumberHeader) ?? "__orderNumberHeader" + orderDateHeader = try container.decodeIfPresent(String.self, forKey: .orderDateHeader) ?? "__orderDateHeader" + statusReady = try container.decodeIfPresent(String.self, forKey: .statusReady) ?? "__statusReady" + statusRejected = try container.decodeIfPresent(String.self, forKey: .statusRejected) ?? "__statusRejected" + searchfieldPlaceholder = try container.decodeIfPresent(String.self, forKey: .searchfieldPlaceholder) ?? "__searchfieldPlaceholder" + statusNew = try container.decodeIfPresent(String.self, forKey: .statusNew) ?? "__statusNew" + customerNameHeader = try container.decodeIfPresent(String.self, forKey: .customerNameHeader) ?? "__customerNameHeader" + statusCompleted = try container.decodeIfPresent(String.self, forKey: .statusCompleted) ?? "__statusCompleted" + orderStatusHeader = try container.decodeIfPresent(String.self, forKey: .orderStatusHeader) ?? "__orderStatusHeader" + } + + public override subscript(key: String) -> String? { + switch key { + case CodingKeys.emptyMessage.stringValue: return emptyMessage + case CodingKeys.statusShipped.stringValue: return statusShipped + case CodingKeys.statusAccepted.stringValue: return statusAccepted + case CodingKeys.title.stringValue: return title + case CodingKeys.orderNumberHeader.stringValue: return orderNumberHeader + case CodingKeys.orderDateHeader.stringValue: return orderDateHeader + case CodingKeys.statusReady.stringValue: return statusReady + case CodingKeys.statusRejected.stringValue: return statusRejected + case CodingKeys.searchfieldPlaceholder.stringValue: return searchfieldPlaceholder + case CodingKeys.statusNew.stringValue: return statusNew + case CodingKeys.customerNameHeader.stringValue: return customerNameHeader + case CodingKeys.statusCompleted.stringValue: return statusCompleted + case CodingKeys.orderStatusHeader.stringValue: return orderStatusHeader default: return nil } } diff --git a/Modules/Sources/Localizations/NStackAccessor.swift b/Modules/Sources/Localizations/NStackAccessor.swift index 70b6d54..6cce1c1 100644 --- a/Modules/Sources/Localizations/NStackAccessor.swift +++ b/Modules/Sources/Localizations/NStackAccessor.swift @@ -8,10 +8,14 @@ import Foundation import NStackSDK -public func startNStackSDK(appId: String, restAPIKey: String) -> ObservableLocalizations { +public func startNStackSDK( + appId: String, + restAPIKey: String, + environment: NStackSDK.Configuration.NStackEnvironment +) -> ObservableLocalizations { let config = NStackSDK.Configuration( appId: appId, restAPIKey: restAPIKey, localizationClass: Localizations.self, - environment: .debug + environment: environment ) NStack.start(configuration: config, launchOptions: nil) diff --git a/Modules/Sources/Localizations/ObservableLocalizations.swift b/Modules/Sources/Localizations/ObservableLocalizations.swift index a52c88a..478ace2 100644 --- a/Modules/Sources/Localizations/ObservableLocalizations.swift +++ b/Modules/Sources/Localizations/ObservableLocalizations.swift @@ -32,6 +32,10 @@ extension Localizations { "Localizations_da-DK", in: .myModule) } +extension ObservableLocalizations { + public static var bundled = ObservableLocalizations(.bundled) +} + class CurrentBundleFinder {} extension Foundation.Bundle { static var myModule: Bundle = { diff --git a/Modules/Sources/LoginFeature/DeveloperScreen.swift b/Modules/Sources/LoginFeature/DeveloperScreen.swift index 2b86238..079a0ee 100644 --- a/Modules/Sources/LoginFeature/DeveloperScreen.swift +++ b/Modules/Sources/LoginFeature/DeveloperScreen.swift @@ -1,16 +1,15 @@ import APIClient +import Dependencies import SwiftUI struct DeveloperScreen: View { init( - apiClient: APIClient ) { - self.apiClient = apiClient self.selectedURL = apiClient.currentBaseURL() } - let apiClient: APIClient + @Dependency(\.apiClient) var apiClient @Environment(\.apiEnvironments) var apiEnvironments: [APIClient.APIEnvironment] @State var selectedURL: URL = URL(string: ":")! diff --git a/Modules/Sources/LoginFeature/LoginEnvironment.swift b/Modules/Sources/LoginFeature/LoginEnvironment.swift deleted file mode 100644 index 60ed3bb..0000000 --- a/Modules/Sources/LoginFeature/LoginEnvironment.swift +++ /dev/null @@ -1,37 +0,0 @@ -// -// File.swift -// -// -// Created by Nicolai Harbo on 20/04/2022. -// - -import APIClient -import AppVersion -import CombineSchedulers -import Localizations - -public struct LoginEnvironment { - - var mainQueue: AnySchedulerOf - var apiClient: APIClient - var date: () -> Date - var calendar: Calendar - var localizations: ObservableLocalizations - var appVersion: AppVersion - - public init( - mainQueue: AnySchedulerOf, - apiClient: APIClient, - date: @escaping () -> Date, - calendar: Calendar, - localizations: ObservableLocalizations, - appVersion: AppVersion - ) { - self.mainQueue = mainQueue - self.apiClient = apiClient - self.date = date - self.calendar = calendar - self.localizations = localizations - self.appVersion = appVersion - } -} diff --git a/Modules/Sources/LoginFeature/LoginView.swift b/Modules/Sources/LoginFeature/LoginView.swift index f5608d4..ffe1633 100644 --- a/Modules/Sources/LoginFeature/LoginView.swift +++ b/Modules/Sources/LoginFeature/LoginView.swift @@ -5,12 +5,19 @@ // Created by Jakob Mygind on 09/12/2021. // +import Dependencies import Localizations import Style import SwiftUI import SwiftUINavigation public struct LoginView: View { + + enum FocueField: Hashable { + case email, password + } + + @FocusState var focusField: FocueField? @ObservedObject var viewModel: LoginViewModel @EnvironmentObject var localizations: ObservableLocalizations @@ -33,10 +40,14 @@ public struct LoginView: View { .font(.label2) TextField( localizations.login.emailHeader, - text: $viewModel.email, + text: .init( + get: { viewModel.email }, + set: viewModel.emailChanged(_:) + ), prompt: Text(localizations.login.emailPlaceholder) ) + .focused($focusField, equals: .email) .font(.paragraph) .padding() @@ -50,9 +61,13 @@ public struct LoginView: View { .font(.label2) TextField( localizations.login.passwordHeader, - text: $viewModel.password, + text: .init( + get: { viewModel.password }, + set: viewModel.passwordChanged(_:) + ), prompt: Text(localizations.login.passwordPlaceholder) ) + .focused($focusField, equals: .password) .font(.paragraph) .padding() .overlay( @@ -87,11 +102,11 @@ public struct LoginView: View { .shadow(color: .black.opacity(0.15), radius: 2, x: 0, y: 1) ) .sheet(isPresented: $isShowingDeveloperScreen, onDismiss: nil) { - DeveloperScreen( - apiClient: viewModel.environment.apiClient - ) + DeveloperScreen() } .alert(unwrapping: $viewModel.route, case: /LoginViewModel.Route.alert) + .onAppear(perform: viewModel.onAppear) + .bind($viewModel.focusState, to: $focusField) } } @@ -99,24 +114,17 @@ public struct LoginView: View { import Localizations struct LoginView_Previews: PreviewProvider { - static var localizations: ObservableLocalizations = .init(.bundled) - static var previews: some View { - LoginView( - viewModel: .init( - onSuccess: { _, _ in }, - environment: .init( - mainQueue: .immediate, - apiClient: .mock, - date: Date.init, - calendar: .init(identifier: .gregorian), - localizations: .init(.bundled), - appVersion: .noop - ) - ) - ) + LoginView(viewModel: withDependencies { + $0.localizations = .bundled + $0.apiClient = .mock + $0.appVersion = .mock + } operation: { + LoginViewModel(onSuccess: { _, _ in }) + }) + .registerFonts() - .environmentObject(ObservableLocalizations.init(.bundled)) + .environmentObject(ObservableLocalizations.bundled) } } #endif diff --git a/Modules/Sources/LoginFeature/LoginViewModel.swift b/Modules/Sources/LoginFeature/LoginViewModel.swift index 3878750..bdee980 100644 --- a/Modules/Sources/LoginFeature/LoginViewModel.swift +++ b/Modules/Sources/LoginFeature/LoginViewModel.swift @@ -6,14 +6,19 @@ // import APIClient +import AppVersion import Combine +import Dependencies import Model import Style public class LoginViewModel: ObservableObject { - var environment: LoginEnvironment - var onSuccess: (APITokens, Username) -> Void + var onSuccess: (APITokensEnvelope, Username) -> Void + + @Dependency(\.appVersion) var appVersion + @Dependency(\.apiClient) var apiClient + @Dependency(\.localizations) var localizations enum Route { case alert(AlertState) @@ -22,53 +27,65 @@ public class LoginViewModel: ObservableObject { @Published var email: String = "" @Published var password: String = "" - @Published var appVersion: String = "" + @Published var appVersionString: String = "" @Published var isAPICallInFlight = false + @Published var focusState: LoginView.FocueField? var loginCancellable: AnyCancellable? var cancellables: Set = [] public init( - onSuccess: @escaping (APITokens, Username) -> Void, - environment: LoginEnvironment + onSuccess: @escaping (APITokensEnvelope, Username) -> Void ) { - self.environment = environment self.onSuccess = onSuccess - appVersion = "\(environment.appVersion.version())(\(environment.appVersion.build()))" + appVersionString = "\(appVersion.version())(\(appVersion.build()))" } /// Simple heuristics for email pattern var isButtonEnabled: Bool { - email.contains("@") && email.contains(".") && email.count >= 6 - && !password.isEmpty && !isAPICallInFlight + email.contains("@") + && email.contains(".") + && email.count >= 6 + && !password.isEmpty + && !isAPICallInFlight + } + + func onAppear() { + focusState = .email + } + + func emailChanged(_ text: String) { + email = text + } + + func passwordChanged(_ text: String) { + password = text } func loginButtonTapped() { isAPICallInFlight = true - loginCancellable = environment.apiClient.authenticate( - Username(rawValue: email.trimmingCharacters(in: .whitespacesAndNewlines)), - Password(rawValue: password.trimmingCharacters(in: .whitespacesAndNewlines)) - ) - .receive(on: environment.mainQueue, options: nil) - .sink( - receiveCompletion: { [weak self, environment] in - if case .failure(let error) = $0 { - self?.route = .alert( - .withTitleAndMessage( - title: environment.localizations.error.errorTitle, - message: error.errorCode == "401" - ? environment.localizations.login.errorInvalidCredentials - : environment.localizations.error.serverError, - action1: .primary( - title: environment.localizations.defaultSection.ok.uppercased(), - action: { self?.route = nil }) - ) + Task { + do { + let token = try await apiClient.authenticate( + Username(rawValue: email.trimmingCharacters(in: .whitespacesAndNewlines)), + Password(rawValue: password.trimmingCharacters(in: .whitespacesAndNewlines)) + ) + onSuccess(token, .init(rawValue: email)) + } catch let error as APIError { + route = .alert( + .withTitleAndMessage( + title: localizations.error.errorTitle, + message: error.errorCode == "401" + ? localizations.login.errorInvalidCredentials + : localizations.error.serverError, + action1: .primary( + title: localizations.defaultSection.ok.uppercased(), + action: { [weak self] in self?.route = nil }) ) - } - self?.isAPICallInFlight = false - }, - receiveValue: { [unowned self] in onSuccess($0, .init(rawValue: email)) } - ) + ) + } + isAPICallInFlight = false + } } } diff --git a/Modules/Sources/MainFeature/MainView.swift b/Modules/Sources/MainFeature/MainView.swift index 0204e08..b776978 100644 --- a/Modules/Sources/MainFeature/MainView.swift +++ b/Modules/Sources/MainFeature/MainView.swift @@ -16,8 +16,7 @@ public struct MainView: View { struct MainView_Previews: PreviewProvider { static var previews: some View { MainView( - viewModel: .init( - environment: .init(mainQueue: .immediate)) + viewModel: .init() ) } } diff --git a/Modules/Sources/MainFeature/MainViewModel.swift b/Modules/Sources/MainFeature/MainViewModel.swift index 3870271..8640d40 100644 --- a/Modules/Sources/MainFeature/MainViewModel.swift +++ b/Modules/Sources/MainFeature/MainViewModel.swift @@ -1,17 +1,7 @@ import CombineSchedulers +import SwiftUI public class MainViewModel: ObservableObject { - public struct Environment { - var mainQueue: AnySchedulerOf - public init(mainQueue: AnySchedulerOf) { - self.mainQueue = mainQueue - } - } - - let environment: Environment - - public init(environment: Environment) { - self.environment = environment - } + public init() {} } diff --git a/Modules/Sources/Model/APITokens.swift b/Modules/Sources/Model/APITokensEnvelope.swift similarity index 73% rename from Modules/Sources/Model/APITokens.swift rename to Modules/Sources/Model/APITokensEnvelope.swift index 1bd6eac..224f82e 100644 --- a/Modules/Sources/Model/APITokens.swift +++ b/Modules/Sources/Model/APITokensEnvelope.swift @@ -24,7 +24,7 @@ public struct RefreshTokenEnvelope: Codable, Equatable { public var expiresAt: Date } -public struct APITokens: Codable, Equatable { +public struct APITokensEnvelope: Codable, Equatable { init( token: AccessToken, refreshToken: RefreshTokenEnvelope @@ -37,20 +37,8 @@ public struct APITokens: Codable, Equatable { public var refreshToken: RefreshTokenEnvelope } -extension APITokens { +extension APITokensEnvelope { public static let mock = Self( token: "MockToken", refreshToken: .init(token: "MockRefreshToken", expiresAt: .distantFuture)) } - -extension AccessToken { - - var expiry: Date { - guard let jwt = JWT(accessToken: self) else { return Date.distantPast } - return Date(timeIntervalSince1970: jwt.exp) - } - - public func isValid(now: Date) -> Bool { - expiry > now - } -} diff --git a/Modules/Sources/Model/Product.swift b/Modules/Sources/Model/ExampleProduct.swift similarity index 81% rename from Modules/Sources/Model/Product.swift rename to Modules/Sources/Model/ExampleProduct.swift index 879f55d..a400fd7 100644 --- a/Modules/Sources/Model/Product.swift +++ b/Modules/Sources/Model/ExampleProduct.swift @@ -11,14 +11,14 @@ import Tagged public enum UnitCodeTag {} public typealias UnitCode = Tagged -public struct Product: Equatable, Identifiable, Decodable { +public struct ExampleProduct: Equatable, Identifiable, Decodable { public enum ServingTemperature: String, Equatable, Decodable { case warm, cold } public typealias ID = Tagged - public var id: Product.ID + public var id: ExampleProduct.ID public var name: String public var `description`: String public var price: Double @@ -31,10 +31,10 @@ public struct Product: Equatable, Identifiable, Decodable { public struct LineItem: Equatable, Decodable, Identifiable { - public var id: Product.ID { + public var id: ExampleProduct.ID { product.id } - public var product: Product + public var product: ExampleProduct public var quantity: Int } diff --git a/Modules/Sources/Model/JWT.swift b/Modules/Sources/Model/JWT.swift deleted file mode 100644 index 1b3117a..0000000 --- a/Modules/Sources/Model/JWT.swift +++ /dev/null @@ -1,38 +0,0 @@ -// -// File.swift -// -// -// Created by Jakob Mygind on 16/12/2021. -// - -import Foundation - -struct JWT: Decodable { - - let exp: Double - - init?(accessToken: AccessToken) { - let jwtStrings = accessToken.rawValue.split(separator: ".") - - guard jwtStrings.count == 3 else { return nil } - - let claimString = - String(jwtStrings[1]).padding( - toLength: ((String(jwtStrings[1]).count + 3) / 4) * 4, - withPad: "=", - startingAt: 0 - ) - - let data = - Data(base64Encoded: claimString)! - - do { - self = - try JSONDecoder().decode(Self.self, from: data) - - } catch { - print(error) - return nil - } - } -} diff --git a/Modules/Sources/Model/Mocks.swift b/Modules/Sources/Model/Mocks.swift index 358f43f..558037d 100644 --- a/Modules/Sources/Model/Mocks.swift +++ b/Modules/Sources/Model/Mocks.swift @@ -11,7 +11,7 @@ import StoreKit import XCTestDynamicOverlay // MARK: - Here are mocked versions of the domain models -extension Product { +extension ExampleProduct { public static let mock = Self( id: 1, @@ -35,12 +35,12 @@ extension Product { ) } -extension Array where Element == Product { +extension Array where Element == ExampleProduct { public static func mocks(_ count: Int) -> Self { guard count > 0 else { return [] } return (1...count).map { n in - var mock = Product.mock + var mock = ExampleProduct.mock mock.id = .init(rawValue: n) mock.name = "Croissant \(n)" @@ -54,7 +54,7 @@ extension Array where Element == LineItem { guard count > 0 else { return [] } return (1...count).map { n in - var mock = Product.mock + var mock = ExampleProduct.mock mock.id = .init(rawValue: n) mock.name = "Croissant \(n)" diff --git a/Modules/Sources/NetworkClient/Client.swift b/Modules/Sources/NetworkClient/Client.swift index bfa5581..636ff0f 100644 --- a/Modules/Sources/NetworkClient/Client.swift +++ b/Modules/Sources/NetworkClient/Client.swift @@ -31,10 +31,10 @@ extension NetworkClient { pathUpdateStream: XCTUnimplemented("\(Self.self).pathUpdateStream method not implemented.") ) - public static let noop = Self.init( + public static let noop = Self( pathUpdateStream: { .init(unfolding: { .none }) } ) - public static let happy = Self.init( + public static let happy = Self( pathUpdateStream: { .init { continuation in continuation.yield(.init(status: .satisfied)) @@ -42,7 +42,7 @@ extension NetworkClient { } } ) - public static let unhappy = Self.init( + public static let unhappy = Self( pathUpdateStream: { .init { continuation in continuation.yield(.init(status: .unsatisfied)) diff --git a/Modules/Sources/NetworkClient/DependencyKey.swift b/Modules/Sources/NetworkClient/DependencyKey.swift new file mode 100644 index 0000000..d1d12df --- /dev/null +++ b/Modules/Sources/NetworkClient/DependencyKey.swift @@ -0,0 +1,16 @@ +import Dependencies +import Foundation + +extension NetworkClient: TestDependencyKey { + + public static var testValue: NetworkClient { + .failing + } +} + +public extension DependencyValues { + var networkClient: NetworkClient { + get { self[NetworkClient.self] } + set { self[NetworkClient.self] = newValue } + } +} diff --git a/Modules/Sources/NetworkClient/Live.swift b/Modules/Sources/NetworkClient/Live.swift index 61c8669..d3ec352 100644 --- a/Modules/Sources/NetworkClient/Live.swift +++ b/Modules/Sources/NetworkClient/Live.swift @@ -14,7 +14,7 @@ extension NetworkClient { let monitor = NWPathMonitor() - return Self.init( + return Self( pathUpdateStream: { AsyncStream { continuation in monitor.start(queue: queue) diff --git a/Modules/Sources/PersistenceClient/Client.swift b/Modules/Sources/PersistenceClient/Client.swift index 829683a..49f858f 100644 --- a/Modules/Sources/PersistenceClient/Client.swift +++ b/Modules/Sources/PersistenceClient/Client.swift @@ -5,11 +5,25 @@ // Created by Jakob Mygind on 14/01/2022. // +import Dependencies import Foundation import Model /// Client used for storing data public struct PersistenceClient { - public var tokens: FileClient + public var tokens: FileClient public var email: FileClient } + +extension PersistenceClient: TestDependencyKey { + public static var testValue: Self { + .failing + } +} + +public extension DependencyValues { + var persistenceClient: PersistenceClient { + get { self[PersistenceClient.self] } + set { self[PersistenceClient.self] = newValue } + } +} diff --git a/Modules/Tests/APIClientLiveTests/APIClientLiveTests.swift b/Modules/Tests/APIClientLiveTests/APIClientLiveTests.swift index a224854..a6b5b20 100644 --- a/Modules/Tests/APIClientLiveTests/APIClientLiveTests.swift +++ b/Modules/Tests/APIClientLiveTests/APIClientLiveTests.swift @@ -13,141 +13,4 @@ import XCTest final class APIClientLiveTests: XCTestCase { - var formatter: DateFormatter = { - let formatter = DateFormatter() - formatter.locale = Locale(identifier: "en_US_POSIX") - formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSSZ" - return formatter - }() - - let tokenSuccessResponseData = """ - { - "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiOSIsInRva2VuVHlwZSI6Ik1lcmNoYW50IiwibmJmIjoxNjQyNjgxMzU1LCJleHAiOjE2NDI2ODI1NTUsImlhdCI6MTY0MjY4MTM1NX0.TUt15w5BOJfeekhM4TY0qdCHNlr4qtDIVdh_S6MzwTI", - "refreshToken": { - "token": "6/IOyrlaxkYSI/hqVrDFgzn2tefXfKrVNQJvEIJ32gMhDDNAkmDMYiNogS4LvdS3r3CLuRqbiWWNLcTby3i9xg==", - "expiresAt": "2022-04-20T12:22:35.3876411Z" - } - } - """.data(using: .utf8)! - - lazy var newTokens = APITokens( - token: .init( - rawValue: - "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiOSIsInRva2VuVHlwZSI6Ik1lcmNoYW50IiwibmJmIjoxNjQyNjgxMzU1LCJleHAiOjE2NDI2ODI1NTUsImlhdCI6MTY0MjY4MTM1NX0.TUt15w5BOJfeekhM4TY0qdCHNlr4qtDIVdh_S6MzwTI" - ), - refreshToken: .init( - token: .init( - rawValue: - "6/IOyrlaxkYSI/hqVrDFgzn2tefXfKrVNQJvEIJ32gMhDDNAkmDMYiNogS4LvdS3r3CLuRqbiWWNLcTby3i9xg==" - ), - expiresAt: formatter.date(from: "2022-04-20T12:22:35.3876411Z")! - ) - ) - - var cancellables: Set = [] - - func test_refreshing_expired_token() throws { - let successResponse = HTTPURLResponse( - url: URL(string: ":")!, statusCode: 200, httpVersion: nil, headerFields: nil)! - let now = Date.distantFuture - var tokens = APITokens.mock - - tokens.token = .expired - let networkPublisherSubject = PassthroughSubject< - URLSession.DataTaskPublisher.Output, URLSession.DataTaskPublisher.Failure - >() - - let apiURLRequest: URLRequest = URLRequest(url: URL(string: ":")!) - let refreshURL = URL(string: "refresh://")! - - var requestsMade: [URLRequest] = [] - - let authHandler = AuthenticationHandler( - now: { now }, - networkRequestPublisher: { request in - requestsMade.append(request) - return networkPublisherSubject.eraseToAnyPublisher() - }, - refreshURL: refreshURL, - apiTokens: tokens - ) - - var valuesReceived: [URLSession.DataTaskPublisher.Output] = [] - - XCTAssertNil(authHandler.refreshPublisher) // Not yet refreshing - authHandler.authenticateRequest(apiURLRequest) // Make the api call - .sink( - receiveCompletion: { _ in }, - receiveValue: { - valuesReceived.append($0) - - } - ).store(in: &cancellables) - XCTAssertNotNil(authHandler.refreshPublisher) // Refresh started - - XCTAssertEqual(requestsMade.count, 1) - XCTAssertEqual(requestsMade.first?.url, refreshURL) // Refreash call was made - networkPublisherSubject.send((tokenSuccessResponseData, successResponse)) // Refreshcall returns successfully with tokens - - XCTAssertEqual(authHandler.apiTokens, newTokens) // We now have new tokens - networkPublisherSubject.send((tokenSuccessResponseData, successResponse)) // Now original api call is made and for convenience we just send the same data again - networkPublisherSubject.send(completion: .finished) - XCTAssertNil(authHandler.refreshPublisher) // Refresh was terminated - XCTAssertEqual(valuesReceived.count, 1) - let result = try XCTUnwrap(valuesReceived.first) - XCTAssertEqual(result.data, tokenSuccessResponseData) // Original api call successfully returned some data - } - - func test_refreshing_expired_token_while_multiple_calls_made() throws { - let successResponse = HTTPURLResponse( - url: URL(string: ":")!, statusCode: 200, httpVersion: nil, headerFields: nil)! - let now = Date.distantFuture - var tokens = APITokens.mock - - tokens.token = .expired - let networkPublisherSubject = PassthroughSubject< - URLSession.DataTaskPublisher.Output, URLSession.DataTaskPublisher.Failure - >() - - let apiURLRequest: URLRequest = URLRequest(url: URL(string: ":")!) - let refreshURL = URL(string: "refresh://")! - - var requestsMade: [URLRequest] = [] - - let authHandler = AuthenticationHandler( - now: { now }, - networkRequestPublisher: { request in - requestsMade.append(request) - return networkPublisherSubject.eraseToAnyPublisher() - }, - refreshURL: refreshURL, - apiTokens: tokens - ) - - var valuesReceived: [URLSession.DataTaskPublisher.Output] = [] - - XCTAssertNil(authHandler.refreshPublisher) // Not yet refreshing - authHandler.authenticateRequest(apiURLRequest) // Make the api call - .sink( - receiveCompletion: { _ in }, - receiveValue: { - valuesReceived.append($0) - - } - ).store(in: &cancellables) - XCTAssertNotNil(authHandler.refreshPublisher) // Refresh started - - XCTAssertEqual(requestsMade.count, 1) - XCTAssertEqual(requestsMade.first?.url, refreshURL) // Refreash call was made - networkPublisherSubject.send((tokenSuccessResponseData, successResponse)) // Refreshcall returns successfully with tokens - - XCTAssertEqual(authHandler.apiTokens, newTokens) // We now have new tokens - networkPublisherSubject.send((tokenSuccessResponseData, successResponse)) // Now original api call is made and for convenience we just send the same data again - networkPublisherSubject.send(completion: .finished) - XCTAssertNil(authHandler.refreshPublisher) // Refresh was terminated - XCTAssertEqual(valuesReceived.count, 1) - let result = try XCTUnwrap(valuesReceived.first) - XCTAssertEqual(result.data, tokenSuccessResponseData) // Original api call successfully returned some data - } - } diff --git a/Modules/Tests/LoginFeatureTests/LoginFeatureTests.swift b/Modules/Tests/LoginFeatureTests/LoginFeatureTests.swift index 92713d3..8c2de42 100644 --- a/Modules/Tests/LoginFeatureTests/LoginFeatureTests.swift +++ b/Modules/Tests/LoginFeatureTests/LoginFeatureTests.swift @@ -5,11 +5,57 @@ // Created by Jakob Mygind on 09/12/2021. // +import Dependencies import Foundation +import Model import XCTest @testable import LoginFeature final class LoginFeatureTests: XCTestCase { - + func testLoginSuccess() async throws { + + var successCalls: [(APITokensEnvelope, Username)] = [] + + let model = withDependencies { + $0.appVersion = .init(version: { "version" }, build: { "build" }) + $0.apiClient.tokensUpdateStream = { .finished } + $0.apiClient.authenticate = { _, _ in + .mock + } + } operation: { + LoginViewModel(onSuccess: { + successCalls.append(($0, $1)) + }) + } + + model.onAppear() + XCTAssertEqual(model.focusState, .email) + XCTAssertEqual(model.appVersionString, "version(build)") + + model.emailChanged("Hej") + XCTAssertFalse(model.isButtonEnabled) + model.emailChanged("Hej@hop") + + XCTAssertFalse(model.isButtonEnabled) + model.emailChanged("Hej@hop.dk") + XCTAssertFalse(model.isButtonEnabled) + + model.passwordChanged("12345") + XCTAssertTrue(model.isButtonEnabled) + + model.loginButtonTapped() + + XCTAssertTrue(model.isAPICallInFlight) + await Task.yield() + XCTAssertFalse(model.isAPICallInFlight) + + XCTAssertEqual(successCalls.count, 1) + let successCall = try XCTUnwrap(successCalls.first) + + XCTAssertEqual(successCall.0, APITokensEnvelope.mock) + XCTAssertEqual(successCall.1, Username("Hej@hop.dk")) + + + } } diff --git a/Modules/build/GeneratedModuleMaps-iphoneos/AppVersion.modulemap b/Modules/build/GeneratedModuleMaps-iphoneos/AppVersion.modulemap deleted file mode 100644 index 51d3f25..0000000 --- a/Modules/build/GeneratedModuleMaps-iphoneos/AppVersion.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module AppVersion { -header "AppVersion-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/GeneratedModuleMaps-iphoneos/Model.modulemap b/Modules/build/GeneratedModuleMaps-iphoneos/Model.modulemap deleted file mode 100644 index 66c39bd..0000000 --- a/Modules/build/GeneratedModuleMaps-iphoneos/Model.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module Model { -header "Model-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/GeneratedModuleMaps-iphoneos/NetworkClient.modulemap b/Modules/build/GeneratedModuleMaps-iphoneos/NetworkClient.modulemap deleted file mode 100644 index 50c2854..0000000 --- a/Modules/build/GeneratedModuleMaps-iphoneos/NetworkClient.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module NetworkClient { -header "NetworkClient-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/GeneratedModuleMaps-iphoneos/PrinterClient-Swift.h b/Modules/build/GeneratedModuleMaps-iphoneos/PrinterClient-Swift.h deleted file mode 100644 index 482aa27..0000000 --- a/Modules/build/GeneratedModuleMaps-iphoneos/PrinterClient-Swift.h +++ /dev/null @@ -1,212 +0,0 @@ -// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) -#ifndef PRINTERCLIENT_SWIFT_H -#define PRINTERCLIENT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="PrinterClient",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif diff --git a/Modules/build/GeneratedModuleMaps-iphoneos/PrinterClient.modulemap b/Modules/build/GeneratedModuleMaps-iphoneos/PrinterClient.modulemap deleted file mode 100644 index 114b024..0000000 --- a/Modules/build/GeneratedModuleMaps-iphoneos/PrinterClient.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module PrinterClient { -header "PrinterClient-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/GeneratedModuleMaps-iphoneos/SoundClient.modulemap b/Modules/build/GeneratedModuleMaps-iphoneos/SoundClient.modulemap deleted file mode 100644 index d32a212..0000000 --- a/Modules/build/GeneratedModuleMaps-iphoneos/SoundClient.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module SoundClient { -header "SoundClient-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/GeneratedModuleMaps-iphoneos/TouchInterceptorClient.modulemap b/Modules/build/GeneratedModuleMaps-iphoneos/TouchInterceptorClient.modulemap deleted file mode 100644 index b9c4aef..0000000 --- a/Modules/build/GeneratedModuleMaps-iphoneos/TouchInterceptorClient.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module TouchInterceptorClient { -header "TouchInterceptorClient-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/AppVersion.build/AppVersion.modulemap b/Modules/build/Modules.build/Release-iphoneos/AppVersion.build/AppVersion.modulemap deleted file mode 100644 index 51d3f25..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/AppVersion.build/AppVersion.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module AppVersion { -header "AppVersion-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/Model.build/Model.modulemap b/Modules/build/Modules.build/Release-iphoneos/Model.build/Model.modulemap deleted file mode 100644 index 66c39bd..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/Model.build/Model.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module Model { -header "Model-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model-OutputFileMap.json b/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model-OutputFileMap.json deleted file mode 100644 index 1c4a59f..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model-OutputFileMap.json +++ /dev/null @@ -1 +0,0 @@ -{"":{"dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model-master.d","diagnostics":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model-master.dia","swift-dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model-master.swiftdeps"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/APIError.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/APIError.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/APIError.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/APITokens.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/APITokens.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/APITokens.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Address.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Address.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Address.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/FileClient.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/FileClient.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/FileClient.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/JWT.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/JWT.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/JWT.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Mocks.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Mocks.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Mocks.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Notifications.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Notifications.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Notifications.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Order.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Order.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Order.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/PaginatedResponse.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/PaginatedResponse.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/PaginatedResponse.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Product.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Product.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Product.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Store.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Store.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Store.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/TaggedTypes.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/TaggedTypes.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/TaggedTypes.o"}} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model-master.swiftdeps b/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model-master.swiftdeps deleted file mode 100644 index ebc30c4..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model-master.swiftdeps +++ /dev/null @@ -1,17 +0,0 @@ -version: "Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)" -options: "07ba6153f890b8d3f8d72548797ed5fb1cc6cfa1163c5810eacb3599dfdc3d9e" -build_start_time: [1646739673, 662739038] -build_end_time: [1646739674, 276296138] -inputs: - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/APIError.swift": !dirty [1646238462, 276232719] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/APITokens.swift": !dirty [1646303656, 496250629] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Address.swift": !dirty [1646238462, 283956527] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/FileClient.swift": !dirty [1646238462, 329151630] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/JWT.swift": !dirty [1646238462, 310457944] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Mocks.swift": !dirty [1646238462, 353058815] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Notifications.swift": !dirty [1646238462, 334352493] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Order.swift": !dirty [1646238462, 305630207] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/PaginatedResponse.swift": !dirty [1646238462, 374204635] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Product.swift": !dirty [1646238462, 360797882] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Store.swift": !dirty [1646238462, 355364799] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/TaggedTypes.swift": !dirty [1646238462, 332711696] diff --git a/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model.LinkFileList b/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model.LinkFileList deleted file mode 100644 index 0332429..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model.LinkFileList +++ /dev/null @@ -1,12 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/APIError.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/APITokens.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Address.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/FileClient.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/JWT.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Mocks.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Notifications.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Order.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/PaginatedResponse.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Product.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Store.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/TaggedTypes.o diff --git a/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model.SwiftFileList b/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model.SwiftFileList deleted file mode 100644 index eabe145..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/Model.build/Objects-normal/arm64/Model.SwiftFileList +++ /dev/null @@ -1,12 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/APIError.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/APITokens.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Address.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/FileClient.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/JWT.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Mocks.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Notifications.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Order.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/PaginatedResponse.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Product.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/Store.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/Model/TaggedTypes.swift diff --git a/Modules/build/Modules.build/Release-iphoneos/Modules_Localizations.build/empty-Modules_Localizations.plist b/Modules/build/Modules.build/Release-iphoneos/Modules_Localizations.build/empty-Modules_Localizations.plist deleted file mode 100644 index 0c67376..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/Modules_Localizations.build/empty-Modules_Localizations.plist +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/Modules/build/Modules.build/Release-iphoneos/Modules_SoundClient.build/empty-Modules_SoundClient.plist b/Modules/build/Modules.build/Release-iphoneos/Modules_SoundClient.build/empty-Modules_SoundClient.plist deleted file mode 100644 index 0c67376..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/Modules_SoundClient.build/empty-Modules_SoundClient.plist +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/Modules/build/Modules.build/Release-iphoneos/Modules_Style.build/assetcatalog_dependencies b/Modules/build/Modules.build/Release-iphoneos/Modules_Style.build/assetcatalog_dependencies deleted file mode 100644 index 7d0a905..0000000 Binary files a/Modules/build/Modules.build/Release-iphoneos/Modules_Style.build/assetcatalog_dependencies and /dev/null differ diff --git a/Modules/build/Modules.build/Release-iphoneos/Modules_Style.build/assetcatalog_generated_info.plist b/Modules/build/Modules.build/Release-iphoneos/Modules_Style.build/assetcatalog_generated_info.plist deleted file mode 100644 index 0c67376..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/Modules_Style.build/assetcatalog_generated_info.plist +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/Modules/build/Modules.build/Release-iphoneos/Modules_Style.build/empty-Modules_Style.plist b/Modules/build/Modules.build/Release-iphoneos/Modules_Style.build/empty-Modules_Style.plist deleted file mode 100644 index 0c67376..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/Modules_Style.build/empty-Modules_Style.plist +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/NetworkClient.modulemap b/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/NetworkClient.modulemap deleted file mode 100644 index 50c2854..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/NetworkClient.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module NetworkClient { -header "NetworkClient-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-OutputFileMap.json b/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-OutputFileMap.json deleted file mode 100644 index ea753f3..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-OutputFileMap.json +++ /dev/null @@ -1 +0,0 @@ -{"":{"dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.d","diagnostics":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.dia","swift-dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.swiftdeps"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Client.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/Client.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/Client.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Live.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/Live.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/Live.o"}} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.d b/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.d deleted file mode 100644 index f500a4d..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.d +++ /dev/null @@ -1,6 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/Client.o : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Live.swift /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Network.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Network.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Network.framework/Headers/Network.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/Live.o : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Live.swift /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Network.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Network.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Network.framework/Headers/Network.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient.swiftmodule : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Live.swift /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Network.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Network.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Network.framework/Headers/Network.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient.swiftdoc : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Live.swift /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Network.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Network.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Network.framework/Headers/Network.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-Swift.h : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Live.swift /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Network.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Network.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Network.framework/Headers/Network.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient.swiftsourceinfo : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Live.swift /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Network.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Network.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Network.framework/Headers/Network.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes diff --git a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.dia b/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.dia deleted file mode 100644 index 1956f7a..0000000 Binary files a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.dia and /dev/null differ diff --git a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.swiftdeps b/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.swiftdeps deleted file mode 100644 index 137c849..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient-master.swiftdeps +++ /dev/null @@ -1,7 +0,0 @@ -version: "Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)" -options: "279bce955140e95aa56661f014e9bac4aeb0849ca2fe8356d5c70a22d6f90568" -build_start_time: [1646739673, 558987140] -build_end_time: [1646739674, 259474992] -inputs: - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Client.swift": !dirty [1646238462, 587980985] - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Live.swift": !dirty [1646238462, 592545032] diff --git a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient.LinkFileList b/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient.LinkFileList deleted file mode 100644 index d70da9a..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient.LinkFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/Client.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/Live.o diff --git a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient.SwiftFileList b/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient.SwiftFileList deleted file mode 100644 index a76dc75..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/NetworkClient.build/Objects-normal/arm64/NetworkClient.SwiftFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Client.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/NetworkClient/Live.swift diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/Client.o b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/Client.o deleted file mode 100644 index 58b1c4e..0000000 Binary files a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/Client.o and /dev/null differ diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-OutputFileMap.json b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-OutputFileMap.json deleted file mode 100644 index 307fcd9..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-OutputFileMap.json +++ /dev/null @@ -1 +0,0 @@ -{"":{"dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.d","diagnostics":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.dia","swift-dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.swiftdeps"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/PrinterClient/Client.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/Client.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/Client.o"}} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-Swift.h b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-Swift.h deleted file mode 100644 index 482aa27..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-Swift.h +++ /dev/null @@ -1,212 +0,0 @@ -// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) -#ifndef PRINTERCLIENT_SWIFT_H -#define PRINTERCLIENT_SWIFT_H -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wgcc-compat" - -#if !defined(__has_include) -# define __has_include(x) 0 -#endif -#if !defined(__has_attribute) -# define __has_attribute(x) 0 -#endif -#if !defined(__has_feature) -# define __has_feature(x) 0 -#endif -#if !defined(__has_warning) -# define __has_warning(x) 0 -#endif - -#if __has_include() -# include -#endif - -#pragma clang diagnostic ignored "-Wauto-import" -#include -#include -#include -#include - -#if !defined(SWIFT_TYPEDEFS) -# define SWIFT_TYPEDEFS 1 -# if __has_include() -# include -# elif !defined(__cplusplus) -typedef uint_least16_t char16_t; -typedef uint_least32_t char32_t; -# endif -typedef float swift_float2 __attribute__((__ext_vector_type__(2))); -typedef float swift_float3 __attribute__((__ext_vector_type__(3))); -typedef float swift_float4 __attribute__((__ext_vector_type__(4))); -typedef double swift_double2 __attribute__((__ext_vector_type__(2))); -typedef double swift_double3 __attribute__((__ext_vector_type__(3))); -typedef double swift_double4 __attribute__((__ext_vector_type__(4))); -typedef int swift_int2 __attribute__((__ext_vector_type__(2))); -typedef int swift_int3 __attribute__((__ext_vector_type__(3))); -typedef int swift_int4 __attribute__((__ext_vector_type__(4))); -typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); -typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); -typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); -#endif - -#if !defined(SWIFT_PASTE) -# define SWIFT_PASTE_HELPER(x, y) x##y -# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) -#endif -#if !defined(SWIFT_METATYPE) -# define SWIFT_METATYPE(X) Class -#endif -#if !defined(SWIFT_CLASS_PROPERTY) -# if __has_feature(objc_class_property) -# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ -# else -# define SWIFT_CLASS_PROPERTY(...) -# endif -#endif - -#if __has_attribute(objc_runtime_name) -# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) -#else -# define SWIFT_RUNTIME_NAME(X) -#endif -#if __has_attribute(swift_name) -# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) -#else -# define SWIFT_COMPILE_NAME(X) -#endif -#if __has_attribute(objc_method_family) -# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) -#else -# define SWIFT_METHOD_FAMILY(X) -#endif -#if __has_attribute(noescape) -# define SWIFT_NOESCAPE __attribute__((noescape)) -#else -# define SWIFT_NOESCAPE -#endif -#if __has_attribute(ns_consumed) -# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) -#else -# define SWIFT_RELEASES_ARGUMENT -#endif -#if __has_attribute(warn_unused_result) -# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) -#else -# define SWIFT_WARN_UNUSED_RESULT -#endif -#if __has_attribute(noreturn) -# define SWIFT_NORETURN __attribute__((noreturn)) -#else -# define SWIFT_NORETURN -#endif -#if !defined(SWIFT_CLASS_EXTRA) -# define SWIFT_CLASS_EXTRA -#endif -#if !defined(SWIFT_PROTOCOL_EXTRA) -# define SWIFT_PROTOCOL_EXTRA -#endif -#if !defined(SWIFT_ENUM_EXTRA) -# define SWIFT_ENUM_EXTRA -#endif -#if !defined(SWIFT_CLASS) -# if __has_attribute(objc_subclassing_restricted) -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# else -# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA -# endif -#endif -#if !defined(SWIFT_RESILIENT_CLASS) -# if __has_attribute(objc_class_stub) -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) -# else -# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) -# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) -# endif -#endif - -#if !defined(SWIFT_PROTOCOL) -# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA -#endif - -#if !defined(SWIFT_EXTENSION) -# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) -#endif - -#if !defined(OBJC_DESIGNATED_INITIALIZER) -# if __has_attribute(objc_designated_initializer) -# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) -# else -# define OBJC_DESIGNATED_INITIALIZER -# endif -#endif -#if !defined(SWIFT_ENUM_ATTR) -# if defined(__has_attribute) && __has_attribute(enum_extensibility) -# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) -# else -# define SWIFT_ENUM_ATTR(_extensibility) -# endif -#endif -#if !defined(SWIFT_ENUM) -# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# if __has_feature(generalized_swift_name) -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type -# else -# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) -# endif -#endif -#if !defined(SWIFT_UNAVAILABLE) -# define SWIFT_UNAVAILABLE __attribute__((unavailable)) -#endif -#if !defined(SWIFT_UNAVAILABLE_MSG) -# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) -#endif -#if !defined(SWIFT_AVAILABILITY) -# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) -#endif -#if !defined(SWIFT_WEAK_IMPORT) -# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) -#endif -#if !defined(SWIFT_DEPRECATED) -# define SWIFT_DEPRECATED __attribute__((deprecated)) -#endif -#if !defined(SWIFT_DEPRECATED_MSG) -# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) -#endif -#if __has_feature(attribute_diagnose_if_objc) -# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) -#else -# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) -#endif -#if !defined(IBSegueAction) -# define IBSegueAction -#endif -#if __has_feature(modules) -#if __has_warning("-Watimport-in-framework-header") -#pragma clang diagnostic ignored "-Watimport-in-framework-header" -#endif -#endif - -#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" -#pragma clang diagnostic ignored "-Wduplicate-method-arg" -#if __has_warning("-Wpragma-clang-attribute") -# pragma clang diagnostic ignored "-Wpragma-clang-attribute" -#endif -#pragma clang diagnostic ignored "-Wunknown-pragmas" -#pragma clang diagnostic ignored "-Wnullability" - -#if __has_attribute(external_source_symbol) -# pragma push_macro("any") -# undef any -# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="PrinterClient",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) -# pragma pop_macro("any") -#endif - -#if __has_attribute(external_source_symbol) -# pragma clang attribute pop -#endif -#pragma clang diagnostic pop -#endif diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.d b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.d deleted file mode 100644 index f2129b2..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.d +++ /dev/null @@ -1,5 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/Client.o : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/PrinterClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftmodule : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/PrinterClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftdoc : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/PrinterClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-Swift.h : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/PrinterClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftsourceinfo : /Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/PrinterClient/Client.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/Swift.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/lib/swift/_Concurrency.swiftmodule/arm64-apple-ios.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/ObjectiveC.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Combine.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Dispatch.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Darwin.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Foundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreFoundation.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/CoreGraphics.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/Swift.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/prebuilt-modules/15.2/_Concurrency.swiftmodule/arm64-apple-ios.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet6.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/kcdata.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/uuid.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/device.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_machine.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach_debug.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/mach.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/bank.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_posix_sys_types.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/darwin_cdefs.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/net.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/netinet.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.dia b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.dia deleted file mode 100644 index a448689..0000000 Binary files a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.dia and /dev/null differ diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.swiftdeps b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.swiftdeps deleted file mode 100644 index 4bb0910..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient-master.swiftdeps +++ /dev/null @@ -1,6 +0,0 @@ -version: "Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)" -options: "b8f5e74fef108489543b05327fb8278e89aadc966d0c62c8be2b0af7cff11f49" -build_start_time: [1646739670, 196513175] -build_end_time: [1646739673, 272656917] -inputs: - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/PrinterClient/Client.swift": [1646238461, 358780860] diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.LinkFileList b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.LinkFileList deleted file mode 100644 index 1a94b2d..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.LinkFileList +++ /dev/null @@ -1 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/Client.o diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.SwiftFileList b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.SwiftFileList deleted file mode 100644 index 3c406f0..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.SwiftFileList +++ /dev/null @@ -1 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/PrinterClient/Client.swift diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftdoc b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftdoc deleted file mode 100644 index 785ad95..0000000 Binary files a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftdoc and /dev/null differ diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftmodule b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftmodule deleted file mode 100644 index 8ac46df..0000000 Binary files a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftmodule and /dev/null differ diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftsourceinfo b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftsourceinfo deleted file mode 100644 index 038769b..0000000 Binary files a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient.swiftsourceinfo and /dev/null differ diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient_dependency_info.dat b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient_dependency_info.dat deleted file mode 100644 index 8eee881..0000000 Binary files a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/Objects-normal/arm64/PrinterClient_dependency_info.dat and /dev/null differ diff --git a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/PrinterClient.modulemap b/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/PrinterClient.modulemap deleted file mode 100644 index 114b024..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/PrinterClient.build/PrinterClient.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module PrinterClient { -header "PrinterClient-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/DerivedSources/resource_bundle_accessor.swift b/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/DerivedSources/resource_bundle_accessor.swift deleted file mode 100644 index 721d3c6..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/DerivedSources/resource_bundle_accessor.swift +++ /dev/null @@ -1,29 +0,0 @@ -import class Foundation.Bundle - -private class BundleFinder {} - -extension Foundation.Bundle { - /// Returns the resource bundle associated with the current Swift module. - static var module: Bundle = { - let bundleName = "Modules_SoundClient" - - let candidates = [ - // Bundle should be present here when the package is linked into an App. - Bundle.main.resourceURL, - - // Bundle should be present here when the package is linked into a framework. - Bundle(for: BundleFinder.self).resourceURL, - - // For command-line tools. - Bundle.main.bundleURL, - ] - - for candidate in candidates { - let bundlePath = candidate?.appendingPathComponent(bundleName + ".bundle") - if let bundle = bundlePath.flatMap(Bundle.init(url:)) { - return bundle - } - } - fatalError("unable to find bundle named Modules_SoundClient") - }() -} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient-OutputFileMap.json b/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient-OutputFileMap.json deleted file mode 100644 index ef5396d..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient-OutputFileMap.json +++ /dev/null @@ -1 +0,0 @@ -{"":{"dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient-master.d","diagnostics":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient-master.dia","swift-dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient-master.swiftdeps"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/SoundClient/Client.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/Client.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/Client.o"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/DerivedSources/resource_bundle_accessor.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/resource_bundle_accessor.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/resource_bundle_accessor.o"}} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient-master.swiftdeps b/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient-master.swiftdeps deleted file mode 100644 index 5514087..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient-master.swiftdeps +++ /dev/null @@ -1,8 +0,0 @@ -version: "Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)" -options: "279bce955140e95aa56661f014e9bac4aeb0849ca2fe8356d5c70a22d6f90568" -build_start_time: [1646739673, 518069982] -build_end_time: [1646739674, 284380912] -inputs: - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/SoundClient/Client.swift": !dirty [1646238461, 821224689] - ? "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/DerivedSources/resource_bundle_accessor.swift" - : !dirty [1646739673, 429886102] diff --git a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient.LinkFileList b/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient.LinkFileList deleted file mode 100644 index ea28140..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient.LinkFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/resource_bundle_accessor.o -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/Client.o diff --git a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient.SwiftFileList b/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient.SwiftFileList deleted file mode 100644 index 68201ee..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/Objects-normal/arm64/SoundClient.SwiftFileList +++ /dev/null @@ -1,2 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/DerivedSources/resource_bundle_accessor.swift -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/SoundClient/Client.swift diff --git a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/SoundClient.modulemap b/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/SoundClient.modulemap deleted file mode 100644 index d32a212..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/SoundClient.build/SoundClient.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module SoundClient { -header "SoundClient-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient-OutputFileMap.json b/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient-OutputFileMap.json deleted file mode 100644 index d92cce8..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient-OutputFileMap.json +++ /dev/null @@ -1 +0,0 @@ -{"":{"dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient-master.d","diagnostics":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient-master.dia","swift-dependencies":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient-master.swiftdeps"},"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/TouchInterceptorClient/TouchInterceptorClient.swift":{"llvm-bc":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient.bc","object":"/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient.o"}} \ No newline at end of file diff --git a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient-master.swiftdeps b/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient-master.swiftdeps deleted file mode 100644 index 20739d8..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient-master.swiftdeps +++ /dev/null @@ -1,6 +0,0 @@ -version: "Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)" -options: "b4aeda3ea2f70730af2ce01d6265492e6d8151399fc63dc4011130b4f0de3adf" -build_start_time: [1646739673, 494933128] -build_end_time: [1646739674, 279633998] -inputs: - "/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/TouchInterceptorClient/TouchInterceptorClient.swift": !dirty [1646238462, 665635824] diff --git a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient.LinkFileList b/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient.LinkFileList deleted file mode 100644 index 33939ab..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient.LinkFileList +++ /dev/null @@ -1 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient.o diff --git a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient.SwiftFileList b/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient.SwiftFileList deleted file mode 100644 index 1489304..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/Objects-normal/arm64/TouchInterceptorClient.SwiftFileList +++ /dev/null @@ -1 +0,0 @@ -/Users/jakobmygind/Documents/Xcode/ML/7-Eleven/InStoreApp/Modules/Sources/TouchInterceptorClient/TouchInterceptorClient.swift diff --git a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/TouchInterceptorClient.modulemap b/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/TouchInterceptorClient.modulemap deleted file mode 100644 index b9c4aef..0000000 --- a/Modules/build/Modules.build/Release-iphoneos/TouchInterceptorClient.build/TouchInterceptorClient.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module TouchInterceptorClient { -header "TouchInterceptorClient-Swift.h" -export * -} \ No newline at end of file diff --git a/Modules/build/Release-iphoneos/Modules_Localizations.bundle/Info.plist b/Modules/build/Release-iphoneos/Modules_Localizations.bundle/Info.plist deleted file mode 100644 index 3e39e7f..0000000 Binary files a/Modules/build/Release-iphoneos/Modules_Localizations.bundle/Info.plist and /dev/null differ diff --git a/Modules/build/Release-iphoneos/Modules_Localizations.bundle/Localizations_da-DK.json b/Modules/build/Release-iphoneos/Modules_Localizations.bundle/Localizations_da-DK.json deleted file mode 100644 index f8a6c1b..0000000 --- a/Modules/build/Release-iphoneos/Modules_Localizations.bundle/Localizations_da-DK.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "data" : { - "dashboard" : { - "allOrdersButton" : "Se tidligere ordrer", - "columnAccepted" : "Accepterede", - "columnAcceptedEmpty" : "Ingen ordrer tilberedes", - "columnDoneToday" : "Gennemført i dag", - "columnDoneTodayEmpty" : "Ingen ordrer leveret i dag", - "columnIncoming" : "Nye ordrer", - "columnIncomingEmpty" : "Ingen nye ordrer", - "columnOutForDelivery" : "Under levering", - "columnOutForDeliveryEmpty" : "Ingen ordrer leveres", - "columnReady" : "Klar til afhentning", - "columnReadyEmpty" : "Ingen ordrer afventer afhentning", - "itemsPlural" : "varer", - "itemsSingular" : "vare", - "sectionLater" : "Senere", - "sectionToday" : "I dag", - "sectionTomorrow" : "I morgen" - }, - "default" : { - "back" : "Tilbage", - "cancel" : "Annuller", - "edit" : "Rediger", - "later" : "Senere", - "next" : "Næste", - "no" : "Nej", - "ok" : "Ok", - "previous" : "Forrige", - "retry" : "Prøv igen", - "save" : "Gem", - "settings" : "Indstillinger", - "skip" : "Spring over", - "yes" : "Ja" - }, - "deliveryType" : { - "collect" : "Afhentes", - "delivery" : "Leveres" - }, - "error" : { - "authenticationError" : "Login er udløbet, login venligst ind igen.", - "connectionError" : "Ingen eller dårlig forbindelse til internettet", - "errorTitle" : "Fejl", - "serverError" : "Ingen forbindelse til system", - "unknownError" : "Ukendt fejl, prøv igen." - }, - "login" : { - "appName" : "Merchant ", - "appVersionPrefix" : "Version", - "emailHeader" : "Email", - "emailPlaceholder" : "Skriv her", - "errorInvalidCredentials" : "Ugyldige loginoplysninger", - "loginButton" : "Log ind", - "passwordHeader" : "Password", - "passwordPlaceholder" : "Skriv her", - "resetPasswordMessage" : "Kontakt [hovedkontoret] for at nulstille passwordet.", - "title" : "Log ind" - }, - "orderDetailNewOrderSection" : { - "acceptButton" : "Acceptér", - "customerNameHeader" : "Kundens navn", - "deliveryTimeHeader" : "Leveringstid", - "header" : "Ny ordre", - "phoneNumberHeader" : "Telefonnummer", - "pickedUpInStoreAt" : "Afhentes i butik", - "pickupTimeHeader" : "Afhentningstid", - "rejectButton" : "Afvis", - "subheader" : "Gennemgå ordren og se om alt kan leveres før ordren accepteres. Ring til kunden for at aftale evt. ombytning, før ordren afvises." - }, - "orderDetails" : { - "aPiece" : "pr stk", - "completedBanner" : "Denne ordre er afsluttet", - "customerNoteHeader" : "Note fra kunde", - "deliveryTypeHeader" : "Leveringstype", - "errorCouldNotFetchProducts" : "Hentning af produkter mislykkedes🤬", - "errorStatusUpdateFailed" : "Opdatering af status for ordre mislykkedes🥲\nPrøv igen!", - "includeCutlery" : "Inkluder bestik", - "infoAddress" : "LeveringsAdresse", - "infoCustomerName" : "Kundens navn", - "infoDeliveryTime" : "Levering", - "infoEmail" : "Email", - "infoMobilePhone" : "Mobilnummer", - "infoOrderTime" : "Bestilling", - "infoPaymentType" : "Betalingsform", - "infoTakeoutPhone" : "Telefonnummer", - "infoTakeOutShopID" : "Takeout Shop ID", - "outForDeliveryButton" : "Under levering", - "pickedUpButton" : "Afhentet", - "pickupTimeHeader" : "Afhentningstid", - "printButton" : "Print", - "readyButton" : "Klar", - "rejectButton" : "Afvis", - "rejectOrderAlertCancel" : "Afvis ikke", - "rejectOrderAlertConfirm" : "Afvis", - "rejectOrderAlertMessage" : "Er du sikker på at du vil afvise denne ordre?", - "rejectOrderAlertTitle" : "Afvis ordre", - "sectionHeaderColdProducts" : "Kolde", - "sectionHeaderCustomerInfo" : "Kundeinformation", - "sectionHeaderOrderStatus" : "Ordrestatus", - "sectionHeaderOtherProducts" : "Andre", - "sectionHeaderTakeout" : "Takeout", - "sectionHeaderWarmProducts" : "Varme", - "sectionSubheaderColdProducts" : "Pakkes i thermopose", - "today" : "I dag", - "underPreparationButton" : "Forberedes" - }, - "orderStatus" : { - "accepted" : "Accepterede" - }, - "printer" : { - "bluetoothHintFooter" : "Printer skal være tilføjet under Bluetooth i indstillinger for iPad for at dukke op her", - "connectButton" : "Forbind", - "connectedSuccessMessage" : "Printer forbundet!", - "deleteButton" : "Slet", - "errorSomethingHappened" : "Der skete en fejl i forbindelsen til printeren", - "sectionHeaderActivePrinter" : "Aktiv printer", - "sectionHeaderNewPrinters" : "Vælg printer", - "title" : "Printer" - }, - "printerOutput" : { - "coldHeader" : "Kolde", - "errorDeviceConnectionFailed" : "Kunne ikke forbinde til printeren", - "errorNoDeviceFound" : "Ingen printer forbundet til appen", - "includeCutlery" : "Inkludér bestik", - "noteHeader" : "Note", - "orderNumber" : "Ordrenr", - "otherHeader" : "Andre", - "warmHeader" : "Varme" - }, - "searchOrders" : { - "customerNameHeader" : "Kundens navn", - "emptyMessage" : "Ingen ordrer fundet", - "orderDateHeader" : "Ordredato og -tid", - "orderNumberHeader" : "Nr.", - "orderStatusHeader" : "Status", - "searchfieldPlaceholder" : "Søg på ordrenr. og navn", - "statusAccepted" : "Accepteret", - "statusCompleted" : "Leveret", - "statusNew" : "Ny", - "statusReady" : "Klar til afhentning", - "statusRejected" : "Afvist", - "statusShipped" : "Under levering", - "title" : "Alle ordrer" - }, - "settings" : { - "appVersionHeader" : "App-version", - "closeButton" : "Luk indstillinger", - "logOutAlertCancel" : "Forbliv logget ind", - "logOutAlertConfirm" : "Log ud", - "logOutAlertMessage" : "Er du sikker på at du vil logge ud?", - "logoutAlertTitle" : "Log ud", - "logOutButton" : "Log ud", - "printerHeader" : "Printer", - "selectPrinterButton" : "Vælg printer", - "title" : "Indstillinger", - "usernameHeader" : "Bruger" - }, - "units" : { - "clt" : "Cl", - "cmt" : "cm", - "d70" : "Cal", - "dlt" : "Dl", - "e14" : "Kcal", - "grm" : "Gr", - "h87" : "styk", - "kgm" : "Kg", - "ltr" : "Liter", - "mlt" : "Ml" - } - }, - "meta" : { - "language" : { - "direction" : "LRM", - "id" : 6, - "is_best_fit" : false, - "is_default" : true, - "locale" : "da-DK", - "name" : "Danish" - }, - "platform" : { - "id" : 584, - "slug" : "mobile" - } - } -} \ No newline at end of file diff --git a/Modules/build/Release-iphoneos/Modules_SoundClient.bundle/Info.plist b/Modules/build/Release-iphoneos/Modules_SoundClient.bundle/Info.plist deleted file mode 100644 index 17fc8c3..0000000 Binary files a/Modules/build/Release-iphoneos/Modules_SoundClient.bundle/Info.plist and /dev/null differ diff --git a/Modules/build/Release-iphoneos/Modules_SoundClient.bundle/NewOrder.mp3 b/Modules/build/Release-iphoneos/Modules_SoundClient.bundle/NewOrder.mp3 deleted file mode 100644 index fbfc071..0000000 Binary files a/Modules/build/Release-iphoneos/Modules_SoundClient.bundle/NewOrder.mp3 and /dev/null differ diff --git a/Modules/build/Release-iphoneos/Modules_Style.bundle/Assets.car b/Modules/build/Release-iphoneos/Modules_Style.bundle/Assets.car deleted file mode 100644 index 195b020..0000000 Binary files a/Modules/build/Release-iphoneos/Modules_Style.bundle/Assets.car and /dev/null differ diff --git a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Bold.otf b/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Bold.otf deleted file mode 100644 index aab73ce..0000000 Binary files a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Bold.otf and /dev/null differ diff --git a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-ExtraLight.otf b/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-ExtraLight.otf deleted file mode 100644 index 0092dab..0000000 Binary files a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-ExtraLight.otf and /dev/null differ diff --git a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Light.otf b/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Light.otf deleted file mode 100644 index a6f6455..0000000 Binary files a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Light.otf and /dev/null differ diff --git a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Medium.otf b/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Medium.otf deleted file mode 100644 index f9bae60..0000000 Binary files a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Medium.otf and /dev/null differ diff --git a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Regular.otf b/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Regular.otf deleted file mode 100644 index e26c462..0000000 Binary files a/Modules/build/Release-iphoneos/Modules_Style.bundle/KelptA3-Regular.otf and /dev/null differ diff --git a/Modules/build/Release-iphoneos/PrinterClient.o b/Modules/build/Release-iphoneos/PrinterClient.o deleted file mode 100644 index 09e9d2c..0000000 Binary files a/Modules/build/Release-iphoneos/PrinterClient.o and /dev/null differ diff --git a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo b/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo deleted file mode 100644 index 038769b..0000000 Binary files a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo and /dev/null differ diff --git a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/Project/arm64.swiftsourceinfo b/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/Project/arm64.swiftsourceinfo deleted file mode 100644 index 038769b..0000000 Binary files a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/Project/arm64.swiftsourceinfo and /dev/null differ diff --git a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64-apple-ios.swiftdoc b/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64-apple-ios.swiftdoc deleted file mode 100644 index 785ad95..0000000 Binary files a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64-apple-ios.swiftdoc and /dev/null differ diff --git a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64-apple-ios.swiftmodule b/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64-apple-ios.swiftmodule deleted file mode 100644 index 8ac46df..0000000 Binary files a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64-apple-ios.swiftmodule and /dev/null differ diff --git a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64.swiftdoc b/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64.swiftdoc deleted file mode 100644 index 785ad95..0000000 Binary files a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64.swiftdoc and /dev/null differ diff --git a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64.swiftmodule b/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64.swiftmodule deleted file mode 100644 index 8ac46df..0000000 Binary files a/Modules/build/Release-iphoneos/PrinterClient.swiftmodule/arm64.swiftmodule and /dev/null differ diff --git a/PROJECT_NAME.xcodeproj/project.pbxproj b/PROJECT_NAME.xcodeproj/project.pbxproj index 010b116..67584ef 100644 --- a/PROJECT_NAME.xcodeproj/project.pbxproj +++ b/PROJECT_NAME.xcodeproj/project.pbxproj @@ -7,10 +7,13 @@ objects = { /* Begin PBXBuildFile section */ + BD05E4892987E76700D6EA73 /* APITokensProtocolConformance.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD05E4882987E76700D6EA73 /* APITokensProtocolConformance.swift */; }; BD1B2304274679C100F9B140 /* Localizations in Frameworks */ = {isa = PBXBuildFile; productRef = BD1B2303274679C100F9B140 /* Localizations */; }; BD2B080727833D070066D559 /* AppFeature in Frameworks */ = {isa = PBXBuildFile; productRef = BD2B080627833D070066D559 /* AppFeature */; }; BD2FEFDB2768CA5C00E80BBC /* APIClientLive in Frameworks */ = {isa = PBXBuildFile; productRef = BD2FEFDA2768CA5C00E80BBC /* APIClientLive */; }; BD3196EC2796EC1F0077C271 /* ProjectConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD3196EB2796CC900077C271 /* ProjectConfig.swift */; }; + BD8F63772980199E000EA587 /* LiveDependencies.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD8F63762980199E000EA587 /* LiveDependencies.swift */; }; + BD8F637929801BC5000EA587 /* EnvVars.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD8F637829801BC5000EA587 /* EnvVars.swift */; }; BDC6D5E9279183590028D211 /* PersistenceClient in Frameworks */ = {isa = PBXBuildFile; productRef = BDC6D5E8279183590028D211 /* PersistenceClient */; }; BDCA8DA12742611B00195B05 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDCA8DA02742611B00195B05 /* AppDelegate.swift */; }; BDCA8DAA2742611D00195B05 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BDCA8DA92742611D00195B05 /* Assets.xcassets */; }; @@ -31,9 +34,12 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + BD05E4882987E76700D6EA73 /* APITokensProtocolConformance.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = APITokensProtocolConformance.swift; sourceTree = ""; }; BD3196E92796CB440077C271 /* Production.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Production.xcconfig; sourceTree = ""; }; - BD3196EA2796CB690077C271 /* Test.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Test.xcconfig; sourceTree = ""; }; + BD3196EA2796CB690077C271 /* Staging.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Staging.xcconfig; sourceTree = ""; }; BD3196EB2796CC900077C271 /* ProjectConfig.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProjectConfig.swift; sourceTree = ""; }; + BD8F63762980199E000EA587 /* LiveDependencies.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LiveDependencies.swift; sourceTree = ""; }; + BD8F637829801BC5000EA587 /* EnvVars.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EnvVars.swift; sourceTree = ""; }; BDCA8D9D2742611B00195B05 /* PROJECT_NAME.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PROJECT_NAME.app; sourceTree = BUILT_PRODUCTS_DIR; }; BDCA8DA02742611B00195B05 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; BDCA8DA92742611D00195B05 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; @@ -90,8 +96,11 @@ BDCA8DAB2742611D00195B05 /* LaunchScreen.storyboard */, BDCA8DAE2742611D00195B05 /* Info.plist */, BD3196E92796CB440077C271 /* Production.xcconfig */, - BD3196EA2796CB690077C271 /* Test.xcconfig */, + BD3196EA2796CB690077C271 /* Staging.xcconfig */, BD3196EB2796CC900077C271 /* ProjectConfig.swift */, + BD8F63762980199E000EA587 /* LiveDependencies.swift */, + BD8F637829801BC5000EA587 /* EnvVars.swift */, + BD05E4882987E76700D6EA73 /* APITokensProtocolConformance.swift */, ); path = App; sourceTree = ""; @@ -217,6 +226,9 @@ buildActionMask = 2147483647; files = ( BD3196EC2796EC1F0077C271 /* ProjectConfig.swift in Sources */, + BD05E4892987E76700D6EA73 /* APITokensProtocolConformance.swift in Sources */, + BD8F637929801BC5000EA587 /* EnvVars.swift in Sources */, + BD8F63772980199E000EA587 /* LiveDependencies.swift in Sources */, BDCA8DA12742611B00195B05 /* AppDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -237,7 +249,7 @@ /* Begin XCBuildConfiguration section */ BDA09B442756276400E95F61 /* Test */ = { isa = XCBuildConfiguration; - baseConfigurationReference = BD3196EA2796CB690077C271 /* Test.xcconfig */; + baseConfigurationReference = BD3196EA2796CB690077C271 /* Staging.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; @@ -284,7 +296,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; @@ -328,7 +340,7 @@ }; BDCA8DAF2742611D00195B05 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = BD3196EA2796CB690077C271 /* Test.xcconfig */; + baseConfigurationReference = BD3196EA2796CB690077C271 /* Staging.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; @@ -380,7 +392,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -440,7 +452,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; diff --git a/PROJECT_NAME.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/PROJECT_NAME.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 68b83a7..7665466 100644 --- a/PROJECT_NAME.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/PROJECT_NAME.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,88 +1,122 @@ { - "object": { - "pins": [ - { - "package": "combine-schedulers", - "repositoryURL": "https://github.com/pointfreeco/combine-schedulers", - "state": { - "branch": null, - "revision": "4cf088c29a20f52be0f2ca54992b492c54e0076b", - "version": "0.5.3" - } - }, - { - "package": "NStackSDK", - "repositoryURL": "https://github.com/nstack-io/nstack-ios-sdk", - "state": { - "branch": "feature/spm-support", - "revision": "faf1c7d9cbf47e89fbe7b4da593736b2d4bd5d91", - "version": null - } - }, - { - "package": "swift-case-paths", - "repositoryURL": "https://github.com/pointfreeco/swift-case-paths", - "state": { - "branch": null, - "revision": "241301b67d8551c26d8f09bd2c0e52cc49f18007", - "version": "0.8.0" - } - }, - { - "package": "swift-collections", - "repositoryURL": "https://github.com/apple/swift-collections", - "state": { - "branch": null, - "revision": "48254824bb4248676bf7ce56014ff57b142b77eb", - "version": "1.0.2" - } - }, - { - "package": "swift-identified-collections", - "repositoryURL": "https://github.com/pointfreeco/swift-identified-collections", - "state": { - "branch": null, - "revision": "680bf440178a78a627b1c2c64c0855f6523ad5b9", - "version": "0.3.2" - } - }, - { - "package": "swift-tagged", - "repositoryURL": "https://github.com/pointfreeco/swift-tagged", - "state": { - "branch": null, - "revision": "f3f773a5e13f3c8f0ab1ce2ae6378058acefa87d", - "version": "0.7.0" - } - }, - { - "package": "swiftui-navigation", - "repositoryURL": "https://github.com/pointfreeco/swiftui-navigation", - "state": { - "branch": null, - "revision": "2694c03284a368168b3e0b8d7ab52626802d2246", - "version": "0.1.0" - } - }, - { - "package": "LocalizationManager", - "repositoryURL": "https://github.com/nodes-ios/TranslationManager", - "state": { - "branch": null, - "revision": "3cac667c95c7f6df72e5627b3325415709ee8d89", - "version": "3.1.3" - } - }, - { - "package": "xctest-dynamic-overlay", - "repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay", - "state": { - "branch": null, - "revision": "16e6409ee82e1b81390bdffbf217b9c08ab32784", - "version": "0.5.0" - } + "pins" : [ + { + "identity" : "combine-schedulers", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/combine-schedulers", + "state" : { + "revision" : "882ac01eb7ef9e36d4467eb4b1151e74fcef85ab", + "version" : "0.9.1" } - ] - }, - "version": 1 + }, + { + "identity" : "mltokenhandler-ios", + "kind" : "remoteSourceControl", + "location" : "https://github.com/nodes-ios/MLTokenHandler-ios.git", + "state" : { + "revision" : "06fdf171871542e532160aae324753dfd729b780", + "version" : "0.9.0" + } + }, + { + "identity" : "nstack-ios-sdk", + "kind" : "remoteSourceControl", + "location" : "https://github.com/nstack-io/nstack-ios-sdk", + "state" : { + "branch" : "feature/spm-support", + "revision" : "23f10afa8ffeef6ba6c56f017b2d2a5f5311f9e3" + } + }, + { + "identity" : "swift-case-paths", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-case-paths", + "state" : { + "revision" : "c3a42e8d1a76ff557cf565ed6d8b0aee0e6e75af", + "version" : "0.11.0" + } + }, + { + "identity" : "swift-clocks", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-clocks", + "state" : { + "revision" : "20b25ca0dd88ebfb9111ec937814ddc5a8880172", + "version" : "0.2.0" + } + }, + { + "identity" : "swift-collections", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-collections", + "state" : { + "revision" : "937e904258d22af6e447a0b72c0bc67583ef64a2", + "version" : "1.0.4" + } + }, + { + "identity" : "swift-custom-dump", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-custom-dump", + "state" : { + "revision" : "87dd388a193569b288d03cb4060db54f90d1a66f", + "version" : "0.7.0" + } + }, + { + "identity" : "swift-dependencies", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-dependencies", + "state" : { + "revision" : "8282b0c59662eb38946afe30eb403663fc2ecf76", + "version" : "0.1.4" + } + }, + { + "identity" : "swift-identified-collections", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-identified-collections", + "state" : { + "revision" : "fd34c544ad27f3ba6b19142b348005bfa85b6005", + "version" : "0.6.0" + } + }, + { + "identity" : "swift-tagged", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swift-tagged", + "state" : { + "revision" : "af06825aaa6adffd636c10a2570b2010c7c07e6a", + "version" : "0.9.0" + } + }, + { + "identity" : "swiftui-navigation", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/swiftui-navigation", + "state" : { + "revision" : "270a754308f5440be52fc295242eb7031638bd15", + "version" : "0.6.1" + } + }, + { + "identity" : "translationmanager", + "kind" : "remoteSourceControl", + "location" : "https://github.com/nodes-ios/TranslationManager", + "state" : { + "revision" : "917de7fbe7ebe58862add784a67916bc98a79356", + "version" : "3.1.5" + } + }, + { + "identity" : "xctest-dynamic-overlay", + "kind" : "remoteSourceControl", + "location" : "https://github.com/pointfreeco/xctest-dynamic-overlay", + "state" : { + "revision" : "16b23a295fa322eb957af98037f86791449de60f", + "version" : "0.8.1" + } + } + ], + "version" : 2 } diff --git a/PROJECT_NAME.xcodeproj/xcshareddata/xcschemes/PROJECT_NAME.xcscheme b/PROJECT_NAME.xcodeproj/xcshareddata/xcschemes/PROJECT_NAME.xcscheme index d9a6d83..63f3e7c 100644 --- a/PROJECT_NAME.xcodeproj/xcshareddata/xcschemes/PROJECT_NAME.xcscheme +++ b/PROJECT_NAME.xcodeproj/xcshareddata/xcschemes/PROJECT_NAME.xcscheme @@ -32,9 +32,9 @@ skipped = "NO"> @@ -42,9 +42,9 @@ skipped = "NO"> @@ -52,9 +52,9 @@ skipped = "NO"> diff --git a/README.md b/README.md index 2f47281..2df7fa3 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,11 @@ Make sure you have familiarized yourself somewhat with the concepts in the MVVM 3. Name your project - Rename project: Tap main project, top left -> File inspector -> Identity and Type -> Name -> enter new name and tap 'enter' -> Tap 'Rename' - Rename the scheme: Tap the scheme -> Manage schemes -> change the name of the PROJECT_NAME scheme. -5. In AppDelegate replace placeholders with relevant strings +5. In `EnvVars` and `LiveDependencies` in the main target replace placeholders with your own environment values 6. In .xcconfig files insert your own urls 7. Insert the project specific NStack keys in the NStack.plist file, located in the App folder 8. Insert your own colors in Colors.xcassets and Colors.swift in Style bundle 9. Insert your own fonts in /Fonts and Fonts.swift in Style bundle 10. Fix font names in RegisterFonts.swift 11. Drop your own shared assets in Assets.xcassets and Assets.swift in Style bundle -12. Delete the `.git` folder and run `git init`, so you're using a new repo for your project and not the template repo \ No newline at end of file +12. Delete the `.git` folder and run `git init`, so you're using a new repo for your project and not the template repo