/revenuecat:migrate-to-spmfrom RevenueCat
Migrates the RevenueCat SDK's iOS dependency from CocoaPods or Carthage to Swift Package Manager. Supports Flutter, React Native, Capacitor, Unity, and Cordova projects.
Ships in RevenueCat. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when an app installs the RevenueCat SDK on iOS through CocoaPods or Carthage, and the user wants to move it to Swift Package Manager (SPM).
CocoaPods trunk becomes read-only on December 2, 2026. Existing RevenueCat pods stay installable, but apps must move to SPM to keep receiving RevenueCat's native SDK updates.
Find the RevenueCat SDK the app uses, then check whether it installs RevenueCat on iOS through CocoaPods or Carthage. If a hybrid SDK matches, use it, even if its ios/ folder also matches a native iOS entry.
pubspec.yaml depends on purchases_flutter): uses CocoaPods when ios/Podfile.lock lists PurchasesHybridCommon. A FlutterGeneratedPluginSwiftPackage reference in the Xcode project doesn't confirm SPM: it stays after SPM is turned off, including per machine with flutter config. If there is no Podfile.lock, run flutter build ios --config-only and check again: CocoaPods writes ios/Podfile.lock, and SPM writes ios/Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage/Package.swift, which lists purchases_flutter. For macOS, use flutter build macos --config-only and macos/. An SPM result only covers this machine, so before stopping, check CI scripts for --no-enable-swift-package-manager and confirm with the user that CI and other machines also use SPM. Guide: https://www.revenuecat.com/docs/sdk-guides/flutter-cocoapods-to-spm-migration.mdpackage.json depends on react-native-purchases): uses CocoaPods when ios/Podfile exists and there is no ios/*.xcodeproj/.spm-injected.json. Expo apps use CocoaPods, even when ios/ isn't committed, unless the app config enables experiments.swiftPackageManager. Guide: https://www.revenuecat.com/docs/sdk-guides/react-native-cocoapods-to-spm-migration.md. React Native's SPM integration is experimental. For Expo apps, recommend staying on CocoaPods: Expo's SPM support is still a preview, and common Expo libraries such as expo-router don't support SPM yet. Explain this to the user, and migrate if they confirm.package.json depends on @revenuecat/purchases-capacitor): uses CocoaPods when ios/App/Podfile exists. Projects on SPM have ios/App/CapApp-SPM/Package.swift instead. Guide: https://www.revenuecat.com/docs/sdk-guides/capacitor-cocoapods-to-spm-migration.mdPackages/manifest.json lists com.revenuecat.purchases-unity, or Assets/RevenueCat/ exists from the .unitypackage): uses CocoaPods when the generated Xcode project's Podfile lists PurchasesHybridCommon, and SPM when its project.pbxproj references purchases-hybrid-common instead. Resolver settings don't confirm SPM: an existing build folder keeps its pods until it's rebuilt. The generated project is build output and usually not committed, so if it isn't available, ask the user. Guide: https://www.revenuecat.com/docs/sdk-guides/unity-cocoapods-to-spm-migration.mdpackage.json depends on cordova-plugin-purchases): uses CocoaPods on 8.x or earlier. Version 9 uses SPM. Check the version in package.json or config.xml, since platforms/ is usually not committed. Guide: https://github.com/RevenueCat/cordova-plugin-purchases/blob/main/migrations/v9-MIGRATION.md#iosPodfile or Podfile.lock lists RevenueCat. Guide: https://www.revenuecat.com/docs/sdk-guides/ios-native-cocoapods-to-spm-migration.mdCartfile or Cartfile.resolved lists RevenueCat/purchases-ios. Guide: https://www.revenuecat.com/docs/sdk-guides/ios-native-carthage-to-spm-migration.mdThe index at https://www.revenuecat.com/docs/sdk-guides/spm-migration-guides-index.md lists every guide.
If a committed Podfile.lock lists RevenueCat, the app uses CocoaPods, whatever the signals above suggest. If RevenueCat already comes from SPM, tell the user and stop. If the project doesn't show which one it uses, ask the user.
Fetch the guide's Markdown version and follow it in order.
Do not declare the migration done until:
Podfile.lock and Podfile (if they remain) no longer list RevenueCat or PurchasesHybridCommon, and Cartfile and Cartfile.resolved (if they remain) no longer list RevenueCat/purchases-ios.Then ask the user to run their usual purchase flow in a sandbox build before shipping.
What SKILL.md sets; muted values are Claude Code's defaults
revenuecat@pleaseai is listed by pleaseai/claude-code-plugins — review the source before installing
npx claudepluginhub pleaseai/claude-code-plugins --plugin revenuecat29 skills in this plugin
/ad-trackingAdd RevenueCat ad monetization tracking to an app so ad impressions, clicks, revenue and rewarded ads appear in RevenueCat Charts next to subscription revenue. Use when the user asks to track ad revenue in RevenueCat, add RevenueCat ad tracking, integrate the RevenueCat AdMob adapter, report AdMob, AppLovin MAX, Unity LevelPlay (ironSource) or Unity Ads events to RevenueCat, set up ad monetization or ad LTV, or pastes the "Add RevenueCat ad tracking to this app" prompt from the Ads page of the RevenueCat dashboard, on iOS, Android, Kotlin Multiplatform, Flutter, React Native, or Unity. Also use when ad events are missing or look wrong on the RevenueCat Ads page./app-valuationUse this skill when the user asks how much their app is worth, what they could sell their app for, how app valuations or acquisitions work, or how to prepare a subscription app for sale/exit./2 plugins in one repository ship this exact skill · first indexed Dec 5, 2026
Other plugins' skills for the same job