mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 12:06:35 +08:00
32 lines
752 B
Swift
32 lines
752 B
Swift
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "AffinePaywall",
|
|
platforms: [
|
|
.iOS(.v16),
|
|
.macOS(.v14), // just for build so LLM can verify their code
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "AffinePaywall",
|
|
targets: ["AffinePaywall"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(path: "../AffineResources"),
|
|
.package(url: "https://github.com/RevenueCat/purchases-ios-spm.git", from: "5.60.0"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "AffinePaywall",
|
|
dependencies: [
|
|
"AffineResources",
|
|
.product(name: "RevenueCat", package: "purchases-ios-spm"),
|
|
]
|
|
),
|
|
]
|
|
)
|