swift-algorithms icon indicating copy to clipboard operation
swift-algorithms copied to clipboard

CocoaPod support needed

Open StefaniOSApps opened this issue 4 years ago • 3 comments

Thanks for this amazing framework ✌️.

Well, my request relates to the framework Charts which is very popular with more than 20k stars.

With the latest version, this framework has been integrated via SPM. However, this framework does not support CocoPods here. As a result, this popular framework can no longer be installed via Cocoapods.

I would therefore wish that this framework could also be integrated via CocoaPods.

StefaniOSApps avatar Feb 02 '21 00:02 StefaniOSApps

Any updates on this issue?

ByCyril avatar Mar 05 '21 07:03 ByCyril

We currently provide full support for building this package with the Swift Package Manager and Xcode, and we're open to adding limited support for CMake (only for bootstrapping purposes within the Swift project, not for general use).

We have no plans to support additional build systems or package managers.

If these don't fit your use case, one option is to vendor the modules you need within your own project. (As always, make sure you follow the conditions of the license.)

lorentey avatar Nov 22 '21 22:11 lorentey

I've published a SwiftAlgorithms pod which can be used with import Algorithms. It includes everything in the library except the RandomSample algorithms due to a dependency on swift-numerics which I haven't yet solved. I'll try to track any tag updates on timely basis.

jshier avatar Nov 28 '21 05:11 jshier