Skip to content

Commit

Permalink
Support SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
cozzin committed Sep 17, 2021
1 parent f1aa789 commit 1bb8400
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// 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: "UIHosting",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "UIHosting",
targets: ["UIHosting"]),
],
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: "UIHosting",
dependencies: [],
path: "UIHosting",
exclude: ["Info.plist"]),
.testTarget(
name: "UIHostingTests",
dependencies: ["UIHosting"],
path: "UIHostingTests",
exclude: ["Info.plist"]),
]
)

0 comments on commit 1bb8400

Please sign in to comment.