Menu

TPN SDK: Migration from CocoaPods to SPM Integration Guide

Background

  • Starting from December 2, 2026, the public CocoaPods Trunk/Specs repository is planned to become read-only, so new Pod versions can no longer be published to it. Existing Pod versions can still be installed and used. CocoaPods: Trunk Read-only Plan
  • For the SPM integration method, refer to the official documentation Apple: Adding package dependencies to your app
  • This article is intended for developers integrating the Topon SDK into iOS apps. During migration, please process Topon Core and the adapters in use as one group to avoid introducing the same SDK or its dependencies through both CocoaPods and SPM.

Step 1: Remove the old Pod dependencies

Remove Topon Core and all adapters being migrated from the Podfile, then run pod install

bash Copy
pod install

Step 2: Add SPM in Xcode

Please refer to the SPM integration method document for instructions on adding it.

Previous
SPM Integration
Next
iOS v6.5.xx Migration Guide
Last modified: 2026-11-27Powered by