Skip to content

Commit

Permalink
Specifying a minimum version
Browse files Browse the repository at this point in the history
  • Loading branch information
DevLiuSir committed Dec 25, 2024
1 parent 4ea16e6 commit d05fdb7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// swift-tools-version: 5.7
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "LCPermissionsKit",
platforms: [
.macOS(.v10_15) // 指定支持的 macOS 版本
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "LCPermissionsKit",
targets: ["LCPermissionsKit"]),
Expand All @@ -16,8 +18,6 @@ let package = Package(
// .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: "LCPermissionsKit",
dependencies: []),
Expand Down

0 comments on commit d05fdb7

Please sign in to comment.