From 22c7193f3b5ec2cdfc4a0291e850f5dd2bf7c296 Mon Sep 17 00:00:00 2001 From: woxtu Date: Tue, 8 Dec 2020 17:39:01 +0900 Subject: [PATCH 1/2] Add the package manifest --- Package.swift | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..02e51ba --- /dev/null +++ b/Package.swift @@ -0,0 +1,27 @@ +// swift-tools-version:5.3 + +import PackageDescription + +let package = Package( + name: "AssistantKit", + platforms: [ + .iOS(.v9), + ], + products: [ + .library( + name: "AssistantKit", + targets: ["AssistantKit"] + ), + ], + dependencies: [], + targets: [ + .target( + name: "AssistantKit", + dependencies: [], + path: "AssistantKit", + sources: [ + "Classes", + ] + ), + ] +) From fab2ee51034f9ad2bbeef381faa167d96cd24029 Mon Sep 17 00:00:00 2001 From: woxtu Date: Tue, 8 Dec 2020 17:40:01 +0900 Subject: [PATCH 2/2] Add missing imports --- AssistantKit/Classes/OS.swift | 2 +- AssistantKit/Classes/Type.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AssistantKit/Classes/OS.swift b/AssistantKit/Classes/OS.swift index 736dc67..03fdcf0 100644 --- a/AssistantKit/Classes/OS.swift +++ b/AssistantKit/Classes/OS.swift @@ -6,7 +6,7 @@ // Copyright © 2016 Anatoliy Voropay. All rights reserved. // -import Foundation +import UIKit /// Detecting iOS version extension Device { diff --git a/AssistantKit/Classes/Type.swift b/AssistantKit/Classes/Type.swift index 98e45a3..6181a23 100644 --- a/AssistantKit/Classes/Type.swift +++ b/AssistantKit/Classes/Type.swift @@ -6,7 +6,7 @@ // Copyright © 2016 Anatoliy Voropay. All rights reserved. // -import Foundation +import UIKit /// Device types ///