Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add Pods to Swift Package

I can not found the way how to add Pods to Swift Package.

How I could add Pods to the Swift Package?

like image 984
Ramis Avatar asked Nov 29 '25 08:11

Ramis


1 Answers

CocoaPods and Swift Package Manager are two different package managers and not compatible with each other.

The shortest path is to make sure there is to create a corresponding Package.swift for each CocoaPods podspec and then use Swift Package Manager for everything (or vice versa - create a podspec for each Swift package).

like image 166
Paul Beusterien Avatar answered Dec 02 '25 05:12

Paul Beusterien



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!