XCode 12: ‘SessionDelegate’ has different definitions in different modules
You can try SWIFT_INSTALL_OBJC_HEADER = NO, it works for me
You can try SWIFT_INSTALL_OBJC_HEADER = NO, it works for me
You could use the retrieveImage(with:options:progressBlock: completionHandler:) method of KingfisherManager for this. Maybe something like this: KingfisherManager.shared.retrieveImage(with: url, options: nil, progressBlock: nil, completionHandler: { image, error, cacheType, imageURL in print(image) })