From 4895c675d33cba328881947f9e985f71f47fd661 Mon Sep 17 00:00:00 2001 From: Robert Powell Date: Thu, 25 Jun 2020 17:47:14 -0700 Subject: [PATCH 1/2] Adding Swift Package Manager manifest file. --- Package.swift | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..2e521a4 --- /dev/null +++ b/Package.swift @@ -0,0 +1,32 @@ +// 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: "InAppViewDebugger", + platforms: [ + .iOS(.v13), + .watchOS(.v6) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "InAppViewDebugger", + targets: ["InAppViewDebugger"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "InAppViewDebugger", + dependencies: [], + path: "InAppViewDebugger", + exclude: ["Info.plist", "BUILD"] + ), + ] +) From 559c7843222e7c4dad4a14eabf64da990439ed6f Mon Sep 17 00:00:00 2001 From: Robert Powell Date: Mon, 29 Jun 2020 09:01:51 -0700 Subject: [PATCH 2/2] Make Package.swift less verbose --- Package.swift | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Package.swift b/Package.swift index 2e521a4..7937007 100644 --- a/Package.swift +++ b/Package.swift @@ -1,5 +1,4 @@ // swift-tools-version:5.3 -// The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -10,18 +9,11 @@ let package = Package( .watchOS(.v6) ], products: [ - // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: "InAppViewDebugger", targets: ["InAppViewDebugger"]), ], - dependencies: [ - // Dependencies declare other packages that this package depends on. - // .package(url: /* package url */, from: "1.0.0"), - ], targets: [ - // Targets are the basic building blocks of a package. A target can define a module or a test suite. - // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: "InAppViewDebugger", dependencies: [],