Migrate from Cocoapods to SPM
Migrate an existing MXO Capacitor iOS project from CocoaPods to Swift Package Manager.
MXO Capacitor SDK 4.1.0 and later include SPM support. This page describes how to migrate your existing MXO Capacitor iOS project from Cocoapods to Swift Package Manager (SPM).
After migration, your app continues to use the MXO Capacitor SDK from npm. The native MXO iOS SDK is resolved automatically at build time. See the Capacitor documentation for more details.
Your iOS project now uses Swift Package Manager instead of Cocoapods. The Podfile and App.xcworkspace are removed, and dependencies are managed through CapApp-SPM/Package.swift.
