-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
31 lines (29 loc) · 904 Bytes
/
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
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "FSPagerView-SPM",
platforms: [
.iOS(.v15) // 필요한 최소 iOS 버전 설정
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "FSPagerViewSwift",
targets: ["FSPagerViewSwift"]),
],
targets: [
// Objective-C 타겟
.target(
name: "FSPagerViewObjC",
path: "Sources/FSPagerViewObjC",
publicHeadersPath: "."
),
// Swift 타겟
.target(
name: "FSPagerViewSwift",
dependencies: ["FSPagerViewObjC"],
path: "Sources/FSPagerViewSwift"
)
]
)