onevcat / Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation warnings iOS15+

lonsky opened this issue · comments

Issue Description

Compile warnings appear.

What

During compilation of the project that includes the latest version of Kingfisher, two deprecation warnings appear.

Reproduce

Just compile a project with Target iOS version 15.
image

Other Comment

ENV:
Xcode 15.0.1 (15A507)
macOS Sonoma 14.1.1 (23B81)
Cocoapods integration of Kingfisher.

Kingfisher itself supports from 12.0, where these symbols are still valid and not deprecated. Currently, there is no good way to prevent this when adding and compiling Kingfisher to a target that has a newer deploy version directly (like CocoaPods).

These warning will be addressed eventually when Kingfisher can have a newer minimal deploy target version. Currently, I would suggest you can ignore them by appending :inhibit_warnings => true to Kingfisher's pod in your Podfile.