mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-11 22:55:55 +05:45
* Move AdMobIntegrationSample Tuist project to Projects/ Move the Tuist Project.swift from AdapterSDKs/RevenueCatAdMob/Examples/ to Projects/AdMobIntegrationSample/ for consistency with other Tuist projects. Simplify packages from .projectPackages + .adMobPackage to just .adMobPackage since the AdMob package already resolves RevenueCat transitively. Made-with: Cursor * Address review feedback - Delete orphaned .gitignore at old AdMobIntegrationSample location - Group AdMobIntegrationSample with other Projects/ entries in Workspace.swift - Add comment explaining transitive SPM resolution for RevenueCat Made-with: Cursor
31 lines
1.0 KiB
Swift
31 lines
1.0 KiB
Swift
import ProjectDescription
|
|
import ProjectDescriptionHelpers
|
|
|
|
let project = Project(
|
|
name: "AdMobIntegrationSample",
|
|
organizationName: .revenueCatOrgName,
|
|
// RevenueCat is resolved transitively via the AdMob package's dependency on purchases-ios.
|
|
packages: .adMobPackage,
|
|
settings: .appProject,
|
|
targets: [
|
|
.target(
|
|
name: "AdMobIntegrationSample",
|
|
destinations: [.iPhone],
|
|
product: .app,
|
|
bundleId: "com.revenuecat.sample.admob",
|
|
deploymentTargets: .iOS("15.0"),
|
|
infoPlist: .extendingDefault(with: [
|
|
"UILaunchScreen": [:],
|
|
"GADApplicationIdentifier": "ca-app-pub-3940256099942544~1458002511"
|
|
]),
|
|
sources: ["../../AdapterSDKs/RevenueCatAdMob/Examples/AdMobIntegrationSample/Sources/**"],
|
|
dependencies: [
|
|
.revenueCat,
|
|
.revenueCatAdMob,
|
|
.googleMobileAds
|
|
],
|
|
settings: .appTarget
|
|
)
|
|
]
|
|
)
|