hyperoslo / Lightbox

:milky_way: A convenient and easy to use image viewer for your iOS app
https://www.hyper.no
Other
1.64k stars 329 forks source link

Carthage build failed #201

Closed fatbunboy closed 4 years ago

fatbunboy commented 6 years ago

Hi, I've tried to install through Carthage. however, it shows an error while building.

{path}/Carthage/Checkouts/Imaginary/Sources/Shared/Library/Configuration.swift:19:45: error: unable to infer complex closure return type; add explicit type to disambiguate
  public static var imageStorage: Storage = {
                                            ^
{path}/Carthage/Checkouts/Imaginary/Sources/Shared/Fetcher/ImageFetcher.swift:8:24: error: reference to generic type 'Storage' requires arguments in <...>
  private let storage: Storage?
                       ^
                              <Any>
Cache.Storage:1:20: note: generic type 'Storage' declared here
final public class Storage<T> {
                   ^
{path}/Carthage/Checkouts/Imaginary/Sources/Shared/Fetcher/ImageFetcher.swift:15:53: error: reference to generic type 'Storage' requires arguments in <...>
  public init(downloader: ImageDownloader, storage: Storage?) {
                                                    ^
                                                           <Any>
Cache.Storage:1:20: note: generic type 'Storage' declared here
final public class Storage<T> {
                   ^

** ARCHIVE FAILED **
onmyway133 commented 6 years ago

@fatbunboy Hi, can you check new release https://github.com/hyperoslo/Lightbox/releases/tag/2.3.0 ?