-
Notifications
You must be signed in to change notification settings - Fork 4
/
Package.swift
32 lines (29 loc) · 1.01 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// swift-tools-version: 5.7
// SwiftUI Layout Inspector
//
// A tool for learning how the SwiftUI layout system works,
// and for debugging your own layout code.
//
// https://github.com/ole/swiftui-layout-inspector/
//
// By Ole Begemann, https://oleb.net/
import PackageDescription
let package = Package(
name: "LayoutInspector",
// LayoutInspector requires iOS 16/macOS 13. We specify a lower deployment
// target here to allow integrating the library into an app with a lower
// deployment target. The entire LayoutInspector API is availability-gated
// to iOS 16/macOS 13, though, so you can only use it in views that are
// `@available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)` or higher.
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6)],
products: [
.library(
name: "LayoutInspector",
targets: ["LayoutInspector"]
),
],
dependencies: [],
targets: [
.target(name: "LayoutInspector", dependencies: []),
]
)