Files
AFFiNE-Mirror/packages/frontend/apps/ios/App/Packages/AffinePaywall/Package.swift
T

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"),
]
),
]
)