Files
purchases-ios/Projects/RevenueCatUI/Project.swift
T

66 lines
2.0 KiB
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import ProjectDescription
import ProjectDescriptionHelpers
let allDeploymentTargets: DeploymentTargets = .multiplatform(
iOS: "13.0",
macOS: "10.15",
watchOS: "6.2",
tvOS: "13.0",
visionOS: "1.0"
)
let project = Project(
name: "RevenueCatUI",
organizationName: .revenueCatOrgName,
settings: .settings(base: [:].automaticCodeSigning(devTeam: .revenueCatTeamID)),
targets: [
.target(
name: "RevenueCatUI",
destinations: .allRevenueCat,
product: .framework,
bundleId: "com.revenuecat.RevenueCatUI",
deploymentTargets: .allRevenueCat,
infoPlist: .default,
sources: [
"../../RevenueCatUI/**/*.swift"
],
dependencies: [
.revenueCat
]
),
// MARK: – RevenueCat Tests
.target(
name: "RevenueCatUITests",
destinations: .allRevenueCat,
product: .unitTests,
bundleId: "com.revenuecat.sampleapp.tests",
deploymentTargets: .allRevenueCat,
infoPlist: .default,
sources: [
"../../Tests/RevenueCatUITests/**/*.swift"
],
dependencies: [
.target(name: "RevenueCatUI"),
.nimble,
.snapshotTesting,
.ohHTTPStubsSwift
]
)
],
schemes: [
.scheme(
name: "RevenueCatUI",
shared: true,
buildAction: .buildAction(targets: ["RevenueCatUI"]),
testAction: .targets([
.testableTarget(target: .init(stringLiteral: "RevenueCatUITests"))
]),
runAction: .runAction(configuration: "Debug"),
archiveAction: .archiveAction(configuration: "Release"),
profileAction: .profileAction(configuration: "Release"),
analyzeAction: .analyzeAction(configuration: "Debug")
)
]
)