onevcat / Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.
MIT License
23.43k stars 2.66k forks source link

Report errors of SwiftUI 1.0 and Kingfisher 6.3.1. #1894

Closed Yaozitao0322 closed 2 years ago

Yaozitao0322 commented 2 years ago

pod Kingfisher 6.3.1 in SwiftUI1.0 / iOS 13. report error Xcode is missing components needed to preview on IOS. selected Simulators of iOS15.

image )

onevcat commented 2 years ago

Cannot reproduce it. Maybe it is an integrating error? Does linking SwiftUI strongly to your app/or to the Kingfisher target resolve this issue?

odanu commented 2 years ago

Had the same issue, within a non-swiftui project, freshly installed XCode 13.2.1 and Kingfisher 6.3.0 version. Upgrading to KF7.0.0 fixed it.

4brunu commented 2 years ago

I think the issue is that Kingfisher 6.X.Y is not compatible with Xcode 13. Instead of pointing to a tag, you need to point to the following branch version6-xcode13. Here is the info in the readme related to this. https://github.com/onevcat/Kingfisher#requirements