ImageSlideshow icon indicating copy to clipboard operation
ImageSlideshow copied to clipboard

[SPM] Fix: Showing All Messages found `X` file(s) which are unhandled; explicitly declare them as resources or exclude from the target

Open dogo opened this issue 3 years ago • 5 comments

Screen Shot 2021-09-21 at 23 58 30

dogo avatar Sep 22 '21 03:09 dogo

@zvonicek, please review, merge and release a new version with this fix. It's Very annoying to observe warnings in the Xcode project just from one dependency.

Thanks for the library, by the way.

MadGeorge avatar Dec 06 '21 12:12 MadGeorge

@dogo Your commit doesn't resolve the issue. You need to add these excludes for the ImageSlideShow target:

...
targets: [
        .target(
            name: "ImageSlideshow",
            path: "ImageSlideshow",
            exclude: ["Classes/InputSources/AFURLSource.swift",
                      "Classes/InputSources/AlamofireSource.swift",
                      "Classes/InputSources/AlamofireLegacySource.swift",
                      "Classes/InputSources/ParseSource.swift",
                      "Classes/InputSources/KingfisherSource.swift",
                      "Classes/InputSources/SDWebImageSource.swift"],
            sources: [
                "Classes/Core/ActivityIndicator.swift",
                "Classes/Core/Bundle+Module.swift",
                "Classes/Core/FullScreenSlideshowViewController.swift",
                "Classes/Core/ImageSlideshow.swift",
                "Classes/Core/ImageSlideshowItem.swift",
                "Classes/Core/InputSource.swift",
                "Classes/Core/PageIndicator.swift",
                "Classes/Core/PageIndicatorPosition.swift",
                "Classes/Core/SwiftSupport.swift",
                "Classes/Core/UIImage+AspectFit.swift",
                "Classes/Core/UIImageView+Tools.swift",
                "Classes/Core/ZoomAnimatedTransitioning.swift",
            ],
            resources: [
                .copy("Assets/[email protected]"),
                .copy("Assets/[email protected]"),
            ]),
...

Kondamon avatar Dec 16 '21 10:12 Kondamon

@zvonicek Hey hey, is this anyhow going to be merged soon?

odanu avatar Jan 17 '22 07:01 odanu

Any news @zvonicek ?

dogo avatar May 26 '22 02:05 dogo

Hi all I am using this library and i dont know way how to use these feature configure

  • slideshowInterval - slideshow interval in seconds (default 0 – disabled)
  • zoomEnabled - enables zooming (default false)
  • circular - enables circular scrolling (default true) Can you help me? Thanks all @zvonicek Thank you so much

vickygaugau avatar Jul 25 '22 04:07 vickygaugau