From aba405963d2cc5f8b6bf5a4c5f9ff1fea0189add Mon Sep 17 00:00:00 2001 From: skipp Date: Fri, 13 May 2022 11:16:39 +0700 Subject: [PATCH 1/2] Fixed swift package path not correct --- .../xcode/package.xcworkspace/contents.xcworkspacedata | 7 +++++++ Package.swift | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Package.swift b/Package.swift index 4b0b0a2..9ea8130 100644 --- a/Package.swift +++ b/Package.swift @@ -20,7 +20,8 @@ let package = Package( // Targets can depend on other targets in this package, and on products in packages which this package depends on. .target( name: "TransitionableTab", - dependencies: []), + dependencies: [], + path: "Sources"), .testTarget( name: "TransitionableTabTests", dependencies: ["TransitionableTab"]), From 478c19428bcfdd1c9927e9be48f01467535054e0 Mon Sep 17 00:00:00 2001 From: skipp Date: Fri, 13 May 2022 11:44:45 +0700 Subject: [PATCH 2/2] Fixed gitignore --- .gitignore | 2 ++ Package.swift | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d534044..47f8ac6 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,5 @@ fastlane/report.xml fastlane/Preview.html fastlane/screenshots fastlane/test_output + +.DS_Store diff --git a/Package.swift b/Package.swift index 9ea8130..08713aa 100644 --- a/Package.swift +++ b/Package.swift @@ -1,10 +1,13 @@ -// swift-tools-version:4.0 +// swift-tools-version:5.4 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "TransitionableTab", + platforms: [ + .iOS(.v8) + ], products: [ // Products define the executables and libraries produced by a package, and make them visible to other packages. .library(