Files
purchases-ios/Projects/AdMobIntegrationSample/Project.swift
T
Antonio Pallares b89a33457d Move AdMobIntegrationSample Tuist project to Projects/ (#6493)
* 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
2026-03-20 16:35:00 +01:00

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