-
Notifications
You must be signed in to change notification settings - Fork 521
Expand file tree
/
Copy pathPackage.swift
More file actions
49 lines (46 loc) · 1.27 KB
/
Package.swift
File metadata and controls
49 lines (46 loc) · 1.27 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//
// Package.swift
// PopupDialog_Example
//
// Created by Diego Jimenez on 9/10/25.
// Copyright © 2025 CocoaPods. All rights reserved.
//
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "PopupDialog",
platforms: [
.iOS(.v10)
],
products: [
.library(
name: "PopupDialog",
targets: ["PopupDialog"]
)
],
dependencies: [
// Pod dependency mapped to SPM:
.package(url: "https://github.com/KyoheiG3/DynamicBlurView.git", from: "4.0.0")
],
targets: [
.target(
name: "PopupDialog",
dependencies: [
.product(name: "DynamicBlurView", package: "DynamicBlurView")
],
// Keep your current CocoaPods layout — no file moves needed:
path: "PopupDialog/Classes",
exclude: [],
resources: [],
swiftSettings: [
// The podspec declares Swift 5.0; nothing to force here normally.
// If you strictly need it: .swiftLanguageVersion(.v5)
]
),
.testTarget(
name: "PopupDialogTests",
dependencies: ["PopupDialog"],
path: "Tests/PopupDialogTests"
)
]
)