SwiftKickMobile / SwiftMessages

A very flexible message bar for UIKit and SwiftUI.
MIT License
7.3k stars 742 forks source link

Swift Package Manager installation option #362

Closed saormart closed 3 years ago

saormart commented 4 years ago

Is it possible to make it compatible with Swift Package Manager ? Thanks!

wtmoose commented 4 years ago

I don’t think so. My understanding is that resource bundles aren’t supported yet.

davbeck commented 4 years ago

Looks like resources have been added to Swift 5.3 (not released yet).

Beyond that, having converted several projects to SPM, I can tell you that the biggest challenge converting from Cocoapods is handling subspaces. CP combines all subspecs into a single framework/module. SPM supports multiple products, but they each will have their own module.

wtmoose commented 4 years ago

@davbeck that sounds promising. Thanks for the heads up!

knothed commented 4 years ago

Have a look at this – it is a temporary solution until Swift 5.3 comes out.

wtmoose commented 3 years ago

Preliminary support added in 8.0.2