apptekstudios / ASCollectionView

A SwiftUI collection view with support for custom layouts, preloading, and more.
MIT License
1.36k stars 160 forks source link

No such module 'ASCollectionView' with SPM #213

Open thegalkin opened 3 years ago

thegalkin commented 3 years ago

Describe the bug Couldn't import ASCollectionView - "No such module 'ASCollectionView' with SPM"

To Reproduce Steps to reproduce the behaviour: add package via Swift Package Manager - add its libraries to target

Expected behaviour It should have been imported as any other spm library

Xcode Version:

Simulator, Device, Both? Xcode problem

How to solve Use CocoaPods

Tried Doesn't work in two separate projects. Cocoa way to import does. Common fix for that doesn't helpStack Overflow Other libraries via SPM: SwiftUIX CocoaPods libraries:

pod 'Alamofire', '~> 5.2'
pod 'SwiftyJSON', '~> 5.0'
pod 'HTMLString', '~> 6.0'
pod 'Kingfisher', '~> 6.0' 
pod "Introspect", '~> 0.1.2'
pod "SwiftUITextField", '~> 1.0.1'
pod 'ScrollViewProxy', '~> 1.0'
BayramInanc commented 3 years ago

Do not add dynamic library.