From accfd7874f8c76b02257e3408e7a8f806c933f38 Mon Sep 17 00:00:00 2001 From: Benoit Date: Fri, 20 Aug 2021 16:38:59 +0200 Subject: [PATCH] Add SPM support --- Package.swift | 19 +++++++++++++++++++ SpringApp.xcodeproj/project.pbxproj | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..13fdc79 --- /dev/null +++ b/Package.swift @@ -0,0 +1,19 @@ +// swift-tools-version:5.3 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "Spring", + platforms: [ + .iOS(.v8), .tvOS(.v11) + ], + products: [ + .library(name: "Spring", targets: ["Spring"]) + ], + targets: [ + .target(name: "Spring", path: "Spring" + ) + ], + swiftLanguageVersions: [.v5] +) diff --git a/SpringApp.xcodeproj/project.pbxproj b/SpringApp.xcodeproj/project.pbxproj index a0e8956..cf39cf0 100644 --- a/SpringApp.xcodeproj/project.pbxproj +++ b/SpringApp.xcodeproj/project.pbxproj @@ -97,6 +97,7 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 142BBF0526CFF55300ABE996 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; 1A4FDA2A1A6E44270099D309 /* LoadingView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LoadingView.swift; sourceTree = ""; }; 1A4FDA2B1A6E44270099D309 /* LoadingView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LoadingView.xib; sourceTree = ""; }; 1A4FDA331A6E44780099D309 /* Spring.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Spring.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -251,6 +252,7 @@ 964117321A5BE90A000E3A5A = { isa = PBXGroup; children = ( + 142BBF0526CFF55300ABE996 /* Package.swift */, 9641173D1A5BE90A000E3A5A /* SpringApp */, 964117531A5BE90A000E3A5A /* SpringAppTests */, 1A4FDA341A6E44780099D309 /* Spring */,